Interface IPen
Interface representing the pattern and size of the stroke to apply with a Pen.
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public interface IPen
Properties
| Improve this Doc View SourceEndCapStyle
Gets or sets the stroke endcap style
Declaration
EndCapStyle EndCapStyle { get; set; }
Property Value
Type | Description |
---|---|
EndCapStyle |
JointStyle
Gets or sets the stroke joint style
Declaration
JointStyle JointStyle { get; set; }
Property Value
Type | Description |
---|---|
JointStyle |
StrokeFill
Gets the stroke fill.
Declaration
IBrush StrokeFill { get; }
Property Value
Type | Description |
---|---|
IBrush |
StrokePattern
Gets the stoke pattern.
Declaration
ReadOnlySpan<float> StrokePattern { get; }
Property Value
Type | Description |
---|---|
ReadOnlySpan<Single> |
StrokeWidth
Gets the width to apply to the stroke
Declaration
float StrokeWidth { get; }
Property Value
Type | Description |
---|---|
Single |