Overview
Describes the drawing style for one-dimensional entities such as polylines.
Static Public Member Functions | |
(instancetype) | + solidColor: |
Creates a solid color stroke style. | |
(instancetype) | + gradientFromColor:toColor: |
Creates a gradient stroke style interpolating from fromColor to toColor . | |
(instancetype) | + transparentStrokeWithStampStyle: |
Creates a transparent stroke style and sets the stampStyle. | |
Properties | |
GMSStampStyle * | stampStyle |
A repeated image over the stroke to allow a user to set a 2D texture on top of a stroke. |
Member Function Documentation
+ (instancetype) solidColor: | (UIColor *) | color |
Creates a solid color stroke style.
+ (instancetype) gradientFromColor: | (UIColor *) | fromColor | |
toColor: | (UIColor *) | toColor | |
Creates a gradient stroke style interpolating from fromColor
to toColor
.
+ (instancetype) transparentStrokeWithStampStyle: | (GMSStampStyle *) | stampStyle |
Creates a transparent stroke style and sets the stampStyle.
Property Documentation
- (GMSStampStyle*) stampStyle [read, write, assign] |
A repeated image over the stroke to allow a user to set a 2D texture on top of a stroke.
If the image has transparent or semi-transparent portions, the underlying stroke color will show through in those places. Solid portions of the stamp will completely cover the base stroke.