public abstract class PlaneFigureMode extends Object implements FigureMode
Modifier and Type | Field and Description |
---|---|
static FigureMode |
ABOVE
PlanarSurface area above a line formed by joining points.
|
static FigureMode |
BELOW
PlanarSurface area below a line formed by joining points.
|
static FigureMode |
BOX
PlanarSurface area within a rectangle aligned with the axes.
|
static FigureMode |
CIRCLE
PlanarSurface area within a graphics circle.
|
static FigureMode |
ELLIPSE
PlanarSurface area within a graphics ellipse (center+radius).
|
static FigureMode |
LEFT
PlanarSurface area to the left of a line formed by joining points.
|
static FigureMode[] |
MODES
Available polygon modes for use with planar surfaces.
|
static FigureMode |
OUTSIDE_POLYGON
Inverse of polygon mode.
|
static FigureMode |
POLYGON
PlanarSurface area within the polygon bounded by (>=3) points.
|
static FigureMode |
RIGHT
PlanarSurface area to the right of a line formed by joining points.
|
static FigureMode |
ROTATED_ELLIPSE
PlanarSurface area within a rotated ellipse.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a name by which this mode can be presented to the user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFigure
public static final FigureMode POLYGON
public static final FigureMode BOX
public static final FigureMode CIRCLE
public static final FigureMode ELLIPSE
public static final FigureMode ROTATED_ELLIPSE
public static final FigureMode OUTSIDE_POLYGON
public static final FigureMode BELOW
public static final FigureMode ABOVE
public static final FigureMode LEFT
public static final FigureMode RIGHT
public static final FigureMode[] MODES
public String getName()
FigureMode
getName
in interface FigureMode
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.