Provides the set of 2D classes for defining and performing operations on objects related to two-dimensional geometry.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ObservableFaceArray
|
| Modifier and Type | Class and Description |
|---|---|
| public class | Arc
The |
| public class | ArcTo
A path element that forms an arc from the previous coordinates to the specified x and y coordinates using the specified radius. |
| public class | Box
The |
| public class | Circle
The |
| public class | ClosePath
A path element which closes the current path. |
| public class | CubicCurve
The |
| public class | CubicCurveTo
Creates a curved path element, defined by three new points,
by drawing a Cubic Bézier curve that intersects both the current coordinates
and the specified coordinates |
| public class | Cylinder
The |
| public class | Ellipse
The
import javafx.scene.shape.*;
Ellipse ellipse = new Ellipse(); {
ellipse.setCenterX(50.0f);
ellipse.setCenterY(50.0f);
ellipse.setRadiusX(50.0f);
ellipse.setRadiusY(25.0f);
|
| public class | HLineTo
Creates a horizontal line path element from the current point to x. |
| public class | Line
This Line represents a line segment in |
| public class | LineTo
Creates a line path element by drawing a straight line from the current coordinate to the new coordinates. |
| public abstract class | Mesh
Base class for representing a 3D geometric surface. |
| public class | MeshView
The |
| public class | MoveTo
Creates an addition to the path by moving to the specified coordinates. |
| public class | Path
The |
| public abstract class | PathElement
The |
| public class | Polygon
Creates a polygon, defined by an array of x,y coordinates. |
| public class | Polyline
Creates a polyline, defined by the array of the segment points. |
| pack-priv class | |
| public class | QuadCurve
The |
| public class | QuadCurveTo
Creates a curved path element, defined by two new points,
by drawing a Quadratic Bézier curve that intersects both the current coordinates
and the specified coordinates |
| public class | Rectangle
The |
| public abstract class | Shape
The |
| public abstract class | Shape3D
The |
| public class | Sphere
The |
| public class | SVGPath
The |
| public class | TriangleMesh
Defines a 3D triangle mesh that consists of its associated |
| public class | VertexFormat
Defines the format of the vertices in a mesh. |
| public class | VLineTo
Creates a vertical line path element from the current point to y. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | |
| public enum | CullFace
Face culling setting for use with |
| public enum | DrawMode
Defines how the polygon is drawn when use with |
| public enum | FillRule
The fill rule for determining the interior of the path. |
| public enum | StrokeLineCap
Defines the end cap style of a |
| public enum | StrokeLineJoin
Defines the line join style of a |
| public enum | StrokeType
Defines where to draw the stroke around the boundary of a Shape node. |