Class DrawingAttributes
Specifies drawing attributes that are used to draw a Stroke.
Inherited Members
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
Constructors
| Improve this Doc View SourceDrawingAttributes()
Initializes a new instance of the DrawingAttributes class.
Declaration
public DrawingAttributes()
Properties
| Improve this Doc View SourceColor
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. |
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. |
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. |
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. |