Show / Hide Table of Contents

Class DrawingAttributes

Specifies drawing attributes that are used to draw a Stroke.

Inheritance
System.Object
DependencyObject
DrawingAttributes
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Ink
Assembly: OpenSilver.dll
Syntax
public sealed class DrawingAttributes : DependencyObject, IDependencyObject

Constructors

| Improve this Doc View Source

DrawingAttributes()

Initializes a new instance of the DrawingAttributes class.

Declaration
public DrawingAttributes()

Properties

| Improve this Doc View Source

Color

Gets or sets the color that is used to draw a Stroke.

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color

The color that is used to draw a Stroke. The default is Black.

| Improve this Doc View Source

Height

Gets or sets the height of the stylus that is used to draw a Stroke.

Declaration
public double Height { get; set; }
Property Value
Type Description
System.Double

The height of the stylus that is used to draw a Stroke. The default is 2 pixels.

| Improve this Doc View Source

OutlineColor

Gets or sets the outline color that is used to draw a Stroke.

Declaration
public Color OutlineColor { get; set; }
Property Value
Type Description
Color

The outline color of the stylus that is used to draw a Stroke. The default is Black.

| Improve this Doc View Source

Width

Gets or sets the width of the stylus that is used to draw a Stroke.

Declaration
public double Width { get; set; }
Property Value
Type Description
System.Double

The width of the stylus that is used to draw a Stroke. The default is 2 pixels.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source