Class BasicStroke
java.lang.Object
com.codename1.charts.renderers.BasicStroke
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BasicStrokeDeprecated.The dashed line style.static final BasicStrokeDeprecated.The dot line style.static final BasicStrokeDeprecated.The solid line style. -
Constructor Summary
ConstructorsConstructorDescriptionBasicStroke(int cap, int join, float miter, float[] intervals, float phase) Deprecated.Build a new basic stroke style. -
Method Summary
Modifier and TypeMethodDescriptionintgetCap()Deprecated.Returns the stroke cap.float[]Deprecated.Returns the path effect intervals.intgetJoin()Deprecated.Returns the stroke join.floatgetMiter()Deprecated.Returns the stroke miter.floatgetPhase()Deprecated.Returns the path effect phase.
-
Field Details
-
SOLID
-
DASHED
-
DOTTED
-
-
Constructor Details
-
BasicStroke
public BasicStroke(int cap, int join, float miter, float[] intervals, float phase) Deprecated.Build a new basic stroke style.
Parameters
-
cap: the stroke cap -
join: the stroke join -
miter: the stroke miter -
intervals: the path effect intervals -
phase: the path effect phase
-
-
-
Method Details
-
getCap
public int getCap()Deprecated.Returns the stroke cap.
Returns
the stroke cap
-
getJoin
public int getJoin()Deprecated.Returns the stroke join.
Returns
the stroke join
-
getMiter
public float getMiter()Deprecated.Returns the stroke miter.
Returns
the stroke miter
-
getIntervals
public float[] getIntervals()Deprecated.Returns the path effect intervals.
Returns
the path effect intervals
-
getPhase
public float getPhase()Deprecated.Returns the path effect phase.
Returns
the path effect phase
-
com.codename1.ui.chartpackage instead.