Dash

  • Dash is an immutable class representing a dash used in the stroke pattern for a Polyline or the outline of a Polygon or Circle.

  • It has a public field length which is a float representing the length in pixels.

  • A Dash object can be constructed with a float value for its length.

  • It includes a public toString() method.

public final class Dash extends PatternItem

An immutable class representing a dash 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

Dash (float length)
Constructs a Dash .

Public Method Summary

Inherited Method Summary

Fields

public final float length

Length in pixels (non-negative).

Public Constructors

public Dash (float length)

Constructs a Dash .

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

Public Methods

public String toString ()

Create a Mobile Website
View Site in Mobile | Classic
Share by: