| Modifier and Type | Field and Description |
|---|---|
static Orientation |
ANTI_X
Orientation suitable for labelling top-edge X axis.
|
static Orientation |
ANTI_Y
Orientation suitable for labelling right-hand Y axis.
|
static Orientation |
X
Orientation suitable for X axis labelling.
|
static Orientation |
Y
Orientation suitable for Y axis labelling.
|
| Constructor and Description |
|---|
Orientation() |
| Modifier and Type | Method and Description |
|---|---|
abstract AffineTransform |
captionTransform(Rectangle bounds,
int pad)
Returns a transformation suitable for writing axis captions.
|
static Orientation |
createAngledX(double thetaDeg,
boolean isAnti)
Returns an orientation suitable for X axis labelling, in which
labels are rotated by a given angle.
|
abstract boolean |
isDown()
Indicates whether the positive Y direction points towards the axis.
|
public static final Orientation X
public static final Orientation Y
public static final Orientation ANTI_X
public static final Orientation ANTI_Y
public abstract AffineTransform captionTransform(Rectangle bounds, int pad)
bounds - rectangle enclosing caption textpad - number of pixels gap between caption and axispublic abstract boolean isDown()
public static Orientation createAngledX(double thetaDeg, boolean isAnti)
thetaDeg - rotation angle clockwise in degrees,
usually between 0 and 90isAnti - true for top-edge X axis, false for bottom-edgeCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.