org.jfree.chart.plot
Class ValueMarker
- Cloneable, Serializable
A marker that represents a single fixed value.
ValueMarker(double value) - Creates a new marker.
|
ValueMarker(double value, Paint paint, Stroke stroke) - Creates a new marker.
|
ValueMarker(double value, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha) - Creates a new value marker.
|
boolean | equals(Object obj) - Compares this marker against an arbitrary object.
|
double | getValue() - Returns the value.
|
clone , equals , getAlpha , getLabel , getLabelAnchor , getLabelFont , getLabelOffset , getLabelOffsetType , getLabelPaint , getLabelTextAnchor , getOutlinePaint , getOutlineStroke , getPaint , getStroke , setAlpha , setLabel , setLabelAnchor , setLabelFont , setLabelOffset , setLabelOffsetType , setLabelPaint , setLabelTextAnchor , setOutlinePaint , setOutlineStroke , setPaint , setStroke |
ValueMarker
public ValueMarker(double value)
Creates a new marker.
ValueMarker
public ValueMarker(double value,
Paint paint,
Stroke stroke)
Creates a new marker.
value
- the value.paint
- the paint (null
not permitted).stroke
- the stroke (null
not permitted).
ValueMarker
public ValueMarker(double value,
Paint paint,
Stroke stroke,
Paint outlinePaint,
Stroke outlineStroke,
float alpha)
Creates a new value marker.
value
- the value.paint
- the paint (null
not permitted).stroke
- the stroke (null
not permitted).outlinePaint
- the outline paint (null
permitted).outlineStroke
- the outline stroke (null
permitted).alpha
- the alpha transparency.
equals
public boolean equals(Object obj)
Compares this marker against an arbitrary object.
- equals in interface Marker
obj
- the object (null
permitted).
getValue
public double getValue()
Returns the value.