Page Summary
-
Gaprepresents spaces within stroke patterns for shapes like Polylines, Polygons, and Circles on a map. -
It's defined by a single property:
length, which specifies the gap's length in pixels. -
You can create a
Gapusing its constructor, providing the desired length. -
Gapobjects are immutable, meaning their properties cannot be changed after creation. -
This class inherits from
PatternItemand is part of the Maps SDK for Android.
An immutable class representing a gap used in the stroke pattern for a Polyline or the
outline of a Polygon or Circle.
Inherited Constant Summary
Field Summary
| public final float | length | Length in pixels (non-negative). |
Public Constructor Summary
|
Gap(float length)
Constructs a
Gap. |
Public Method Summary
| String |
toString()
|
Inherited Method Summary
Fields
public final float length
Length in pixels (non-negative).
Public Constructors
public Gap (float length)
Constructs a Gap.
Parameters
| length | Length in pixels. Negative value will be clamped to zero. |
|---|