LuciadCPillar C# 2023.1.04
|
Creates a pattern with an arc, ellipse or circle shape. More...
Creates a pattern with an arc, ellipse or circle shape.
ComplexStrokePatternFactory::arcBuilder()
2023.1
|
inline |
Specifies that only a part of the ellipse should be used, creating an arc.
The part of the ellipse that will be drawn starts at startAngle and ends at startAngle + angle
angle
The angle of the arc, defaults to 360 degrees for a full ellipse.
this builder.
luciad::InvalidArgumentException
angle must be >=0.
|
inline |
Build the arc pattern as configured.
the ComplexStrokePattern.
|
inline |
|
inline |
Sets the fill color.
color
the fill color, by default there is no fill.
this builder.
|
inline |
Set the length of the pattern in pixels.
The length cannot be both fixed and relative, if both methods are used, only the last one affects the result. If no length is set, a 10 pixel fixed length will be used as default.
fixedLength
the length in pixels.
this builder.
luciad::InvalidArgumentException
fixedLength must be >=0.
|
inline |
Sets the line color.
color
the line's color, defaults to black.
this builder.
|
inline |
Sets the line width.
lineWidth
the line's width, defaults to 1.
this builder.
luciad::InvalidArgumentException
lineWidth must be >0.
|
inline |
The minor radius is the distance from the baseline to the top/bottom of the arc.
radius
The minor radius of the arc, in pixels. Defaults to 10.
this builder.
luciad::InvalidArgumentException
radius must be >0.
|
inline |
Sets the offset of the arc, relative to the base line, in pixels.
Defaults to 0.
offset
The offset of the arc.
this builder.
|
inline |
Set the length of the pattern relative to the length of the entire line, as a value between 0 and 1.
The length cannot be both fixed and relative, if both methods are used, only the last one affects the result. If no length is set, a 10 pixel fixed length will be used as default.
relativeLength
a value in [0,1].
this builder.
luciad::InvalidArgumentException
relativeLength must be in range [0,1].
|
inline |
This determines at which point on the ellipse the arc begins.
A startAngle of 0 is on the baseline and the arc goes counter clockwise.
startAngle
The start angle of the arc, defaults to 0 degrees.
this builder.