Class Pen
Describes how a shape is outlined.
Inheritance
System.Object
Pen
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public sealed class Pen : Object
Constructors
Pen()
Declaration
public Pen()
Properties
Brush
Gets or sets the fill the outline produced by this Pen.
Declaration
public Brush Brush { get; set; }
Property Value
Type | Description |
---|---|
Brush | The color of the fill. |
StrokeBrush
Gets or sets the color of the stroke.
Declaration
public Brush StrokeBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush | The color of the stroke. |
StrokeWidth
Gets or sets the width of the stroke.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the stroke. |