Describes the style for some region of a polyline.
|
StyleSpan(StrokeStyle
style, double segments)
Creates a span with the given
style and length in number of
segments.
|
|
|
StyleSpan(int color)
Creates a solid color span of length one segment.
|
|
|
StyleSpan(int color, double segments)
Creates a solid color span with a given number of segments.
|
| double |
getSegments()
Gets the length of this span in number of segments.
|
| StrokeStyle |
getStyle()
Gets the style of this span.
|
Creates a span with the given style and length in number of
segments.
| style | the style of this span. |
|---|---|
| segments | the length of this span in number of segments. |
Creates a span with the given style of length one segment.
| style | the style of this span. |
|---|
Creates a solid color span of length one segment.
| color | the color of this span. |
|---|
Creates a solid color span with a given number of segments.
| color | the color of this span. |
|---|---|
| segments | the length of this span in number of segments. |
Gets the length of this span in number of segments.
Gets the style of this span.