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

NameTypeAccessDescription
OnboolRead/WriteDefines whether the path will be stroked.
ColorColorRead/WriteDefines the color of a stroke.
Color2ColorRead/WriteDefines a second color for a stroke.
ForeColorColorRead/WriteGets or sets the foreground color of the stroke.
BaseForeColorColorReadGets the base foreground color of the stroke without any modifiers.
BackColorColorRead/WriteGets or sets the background color of the stroke.
ForeThemeColorThemeColorRead/WriteGets or sets a ThemeColor object that represents the stroke foreground color.
BackThemeColorThemeColorRead/WriteGets or sets a ThemeColor object that represents the stroke background color.
ForeTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens the stroke foreground color.
BackTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens the stroke background color.
VisibleboolRead/WriteGets or sets a flag indicating whether the stroke is visible.
TransparencydoubleRead/WriteGets or sets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke.
WeightdoubleRead/WriteDefines the brush thickness that strokes the path of a shape in points.
DashStyleDashStyleRead/WriteSpecifies the dot and dash pattern for a stroke.
JoinStyleJoinStyleRead/WriteDefines the join style of a polyline.
EndCapEndCapRead/WriteDefines the cap style for the end of a stroke.
LineStyleShapeLineStyleRead/WriteDefines the line style of the stroke.
StartArrowTypeArrowTypeRead/WriteDefines the arrowhead for the start of a stroke.
EndArrowTypeArrowTypeRead/WriteDefines the arrowhead for the end of a stroke.
StartArrowWidthArrowWidthRead/WriteDefines the arrowhead width for the start of a stroke.
StartArrowLengthArrowLengthRead/WriteDefines the arrowhead length for the start of a stroke.
EndArrowWidthArrowWidthRead/WriteDefines the arrowhead width for the end of a stroke.
EndArrowLengthArrowLengthRead/WriteDefines the arrowhead length for the end of a stroke.
OpacitydoubleRead/WriteDefines the amount of transparency of a stroke.
ImageBytesbyte[]ReadDefines the image for a stroke image or pattern fill.
FillFillReadGets fill formatting for the Stroke.

See Also