public interface RulerModel
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_AUTO_TICKS_STATUS
Default auto-ticks status.
|
static Color |
DEFAULT_COLOR
Default color.
|
static Vector3d |
DEFAULT_FIRST_POINT
Default first point position.
|
static double |
DEFAULT_FIRST_VALUE
Default first value.
|
static boolean |
DEFAULT_LINE_VISIBLE
Default main line visibility.
|
static double |
DEFAULT_LINE_WIDTH
Default line width.
|
static boolean |
DEFAULT_LOGARITHMIC_STATUS
Default logarithmic status.
|
static double |
DEFAULT_MARGIN
Default margin in pixel.
|
static double |
DEFAULT_MINIMAL_SUB_TICKS_DISTANCE
Default minimal sub-ticks distance.
|
static Vector3d |
DEFAULT_SECOND_POINT
Default second point position.
|
static double |
DEFAULT_SECOND_VALUE
Default second value.
|
static int |
DEFAULT_SPRITE_DISTANCE
Default
org.scilab.forge.scirenderer.sprite.Sprite distance to the main line in pixel. |
static int |
DEFAULT_SUB_TICK_LENGTH
Default sub-tick length in pixel.
|
static int |
DEFAULT_TICK_LENGTH
Default tick length in pixel.
|
static Vector3d |
DEFAULT_TICKS_DIRECTION
Default ticks direction.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Color getter.
|
Vector3d |
getFirstPoint()
First point getter.
|
double |
getFirstValue()
First value getter.
|
Graduations |
getGraduations()
Return used graduation to draw this ruler.
|
double |
getLineWidth()
Line width getter.
|
double |
getMargin()
Return the accepted margin (in pixel) for label drawing.
|
double |
getMinimalSubTicksDistance()
Minimal accepted sub-ticks distance getter.
|
Vector3d |
getPosition(double value)
Return the position corresponding to the given value.
|
Vector3d |
getSecondPoint()
Second point getter.
|
double |
getSecondValue()
Second value getter.
|
int |
getSpriteDistance()
Sprite distance getter.
|
int |
getSubTicksLength()
Sub-ticks length getter.
|
Vector3d |
getTicksDirection()
Ticks direction getter.
|
int |
getTicksLength()
Ticks length getter.
|
boolean |
isAutoTicks()
Auto-ticking getter.
|
boolean |
isLineVisible()
Line visibility getter.
|
boolean |
isLogarithmic()
Logarithmic state getter.
|
static final double DEFAULT_FIRST_VALUE
static final double DEFAULT_SECOND_VALUE
static final Vector3d DEFAULT_FIRST_POINT
static final Vector3d DEFAULT_SECOND_POINT
static final double DEFAULT_MARGIN
static final boolean DEFAULT_LINE_VISIBLE
static final int DEFAULT_SPRITE_DISTANCE
org.scilab.forge.scirenderer.sprite.Sprite
distance to the main line in pixel.static final int DEFAULT_SUB_TICK_LENGTH
static final int DEFAULT_TICK_LENGTH
static final double DEFAULT_MINIMAL_SUB_TICKS_DISTANCE
static final boolean DEFAULT_AUTO_TICKS_STATUS
static final boolean DEFAULT_LOGARITHMIC_STATUS
static final Vector3d DEFAULT_TICKS_DIRECTION
static final Color DEFAULT_COLOR
static final double DEFAULT_LINE_WIDTH
Graduations getGraduations()
double getFirstValue()
double getSecondValue()
Vector3d getFirstPoint()
Vector3d getSecondPoint()
Vector3d getTicksDirection()
int getTicksLength()
int getSubTicksLength()
Vector3d getPosition(double value)
value
- the given value.double getMargin()
boolean isLineVisible()
boolean isAutoTicks()
boolean isLogarithmic()
int getSpriteDistance()
double getMinimalSubTicksDistance()
Color getColor()
double getLineWidth()