Stroke
Overview
Stroke is a class in Aspose.Words FOSS for .NET.
Inherits from: IFillable.
Defines a stroke for a shape.
Properties: BackColor, BackThemeColor, BackTintAndShade, BaseForeColor, Color, Color2, and 20 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
On | bool | Read/Write | Defines whether the path will be stroked. |
Color | Color | Read/Write | Defines the color of a stroke. |
Color2 | Color | Read/Write | Defines a second color for a stroke. |
ForeColor | Color | Read/Write | Gets or sets the foreground color of the stroke. |
BaseForeColor | Color | Read | Gets the base foreground color of the stroke without any modifiers. |
BackColor | Color | Read/Write | Gets or sets the background color of the stroke. |
ForeThemeColor | ThemeColor | Read/Write | Gets or sets a ThemeColor object that represents the stroke foreground color. |
BackThemeColor | ThemeColor | Read/Write | Gets or sets a ThemeColor object that represents the stroke background color. |
ForeTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens the stroke foreground color. |
BackTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens the stroke background color. |
Visible | bool | Read/Write | Gets or sets a flag indicating whether the stroke is visible. |
Transparency | double | Read/Write | Gets or sets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke. |
Weight | double | Read/Write | Defines the brush thickness that strokes the path of a shape in points. |
DashStyle | DashStyle | Read/Write | Specifies the dot and dash pattern for a stroke. |
JoinStyle | JoinStyle | Read/Write | Defines the join style of a polyline. |
EndCap | EndCap | Read/Write | Defines the cap style for the end of a stroke. |
LineStyle | ShapeLineStyle | Read/Write | Defines the line style of the stroke. |
StartArrowType | ArrowType | Read/Write | Defines the arrowhead for the start of a stroke. |
EndArrowType | ArrowType | Read/Write | Defines the arrowhead for the end of a stroke. |
StartArrowWidth | ArrowWidth | Read/Write | Defines the arrowhead width for the start of a stroke. |
StartArrowLength | ArrowLength | Read/Write | Defines the arrowhead length for the start of a stroke. |
EndArrowWidth | ArrowWidth | Read/Write | Defines the arrowhead width for the end of a stroke. |
EndArrowLength | ArrowLength | Read/Write | Defines the arrowhead length for the end of a stroke. |
Opacity | double | Read/Write | Defines the amount of transparency of a stroke. |
ImageBytes | byte[] | Read | Defines the image for a stroke image or pattern fill. |
Fill | Fill | Read | Gets fill formatting for the Stroke. |