Skip to main content

ApiStroke

Class representing a stroke.

Methods​

The following table lists the available methods.

MethodReturnsDescription
GetBeginArrowObject | nullReturns the beginning arrow properties of the stroke.
GetCapTypeLineCapType | nullReturns the cap type of the stroke.
GetClassType"stroke"Returns a type of the ApiStroke class.
GetDashTypeDashType | nullGets the dash type of the stroke.
GetEndArrowObject | nullReturns the ending arrow properties of the stroke.
GetFillApiFill | nullGets the fill (color) of the stroke.
GetJoinTypeLineJoinType | nullReturns the join type of the stroke.
GetWidthEMU | nullGets the width of the stroke in English Metric Units.
SetBeginArrowbooleanSets the beginning arrow of the stroke.
SetCapTypebooleanSets the cap type of the stroke.
SetEndArrowbooleanSets the ending arrow of the stroke.
SetJoinTypebooleanSets the join type of the stroke.