Page Summary
-
Gapis an immutable class representing a gap in the stroke pattern forPolyline,Polygon, orCircle. -
The
Gapclass has a public constructor that takes a floatlengthto define the gap's length in pixels. -
The
lengthfield represents the non-negative length of the gap in pixels. -
Gapinherits methods such asequals,hashCode, andtoStringfrom its parent classes and interfaces.
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. |
|---|