Describes the drawing style for one-dimensional entities such as polylines.
| class | StrokeStyle.Builder | Builder for StrokeStyle. |
|
| static StrokeStyle.Builder |
colorBuilder(int color)
Creates a solid color stroke style builder.
|
| StampStyle |
getStamp()
Gets stamp style of a stroke.
|
| static StrokeStyle.Builder |
gradientBuilder(int fromColor, int toColor)
Creates a gradient stroke style interpolating from
fromColor to
toColor builder.
|
| boolean |
isVisible()
Gets visibility of this
StrokeStyle.
|
| static StrokeStyle.Builder |
transparentColorBuilder()
Creates a transparent stroke style builder.
|
Creates a solid color stroke style builder.
| color | the color of the stroke. |
|---|
Gets stamp style of a stroke.
The stamp style's image is repeated over the stroke. If the image has transparent or semi-transparent portions, the underlying stroke color will show through in those places. Otherwise, the stamped texture/image will completely cover the base stroke.
Creates a gradient stroke style interpolating from fromColor to
toColor builder.
| fromColor | color at the beginning of the stroke. |
|---|---|
| toColor | color at the end of the stroke. |
Gets visibility of this StrokeStyle.
Creates a transparent stroke style builder.