de.erichseifert.gral.plots.axes
Class Tick
- java.lang.Object
-
- de.erichseifert.gral.plots.DataPoint
-
- de.erichseifert.gral.plots.axes.Tick
-
public class Tick extends DataPoint
Class for storing the tick mark of an axis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classTick.TickTypeType of tick mark.
-
Field Summary
Fields Modifier and Type Field and Description DrawabledrawableDrawable that will be used to render the tick.java.lang.StringlabelLabel text associated with this tick mark.PointND<java.lang.Double>normalThe normal of the tick mark.java.awt.ShapeshapeShape describing the tick.Tick.TickTypetypeThe type of tick mark (major/minor/custom).
-
Constructor Summary
Constructors Constructor and Description Tick(Tick.TickType type, PointND<java.lang.Double> position, PointND<java.lang.Double> normal, Drawable drawable, java.awt.Shape point, java.lang.String label)Creates a new instance with the specified position, normal,Drawable, point and label.
-
-
-
Field Detail
-
type
public final Tick.TickType type
The type of tick mark (major/minor/custom).
-
normal
public final PointND<java.lang.Double> normal
The normal of the tick mark.
-
drawable
public final Drawable drawable
Drawable that will be used to render the tick.
-
shape
public final java.awt.Shape shape
Shape describing the tick.
-
label
public final java.lang.String label
Label text associated with this tick mark.
-
-
Constructor Detail
-
Tick
public Tick(Tick.TickType type, PointND<java.lang.Double> position, PointND<java.lang.Double> normal, Drawable drawable, java.awt.Shape point, java.lang.String label)
Creates a new instance with the specified position, normal,Drawable, point and label.- Parameters:
type- Type of the tick mark.position- Coordinates.normal- Normal.drawable- Representation.point- Point.label- Description.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG