Dash

public final classDashextendsPatternItem

An immutable class representing a dash used in the stroke pattern for aPolylineor the outline of aPolygonor Circle.

Inherited Constant Summary

Field Summary

public final float length Length in pixels (non-negative).

Public Constructor Summary

Dash(float length)
Constructs aDash.

Public Method Summary

String

Inherited Method Summary

Fields

public final float length

Length in pixels (non-negative).

Public Constructors

publicDash(float length)

Constructs aDash.

Parameters
length Length in pixels. Negative value will be clamped to zero.

Public Methods

publicStringtoString()