Package javafx.scene.shape
package javafx.scene.shape
-
ClassDescriptionThe
Arc
class represents a 2D arc object, defined by a center point, start angle (in degrees), angular extent (length of the arc in degrees), and an arc type (ArcType.OPEN
,ArcType.CHORD
, orArcType.ROUND
).A path element that forms an arc from the previous coordinates to the specified x and y coordinates using the specified radius.ArcType
specifies the closure type forArc
objects.A path element which closes the current path.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(x,y)
, using the specified points(controlX1,controlY1)
and(controlX2,controlY2)
as Bézier control points.The fill rule for determining the interior of the path.Creates a line path element by drawing a straight line from the current coordinate to the new coordinates.Creates an addition to the path by moving to the specified coordinates.ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.ThePathElement
class represents an abstract element of thePath
that can represent any geometric objects like straight lines, arcs, quadratic curves, cubic curves, etc.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(x, y)
, using the specified point(controlX, controlY)
as a Bézier control point.Defines where to draw the stroke around the boundary of a Shape node.SubtractShape is a pure WebFX class created by Shape.subtract() and the only supported usage so far is clipping.TheSVGPath
class represents a simple shape that is constructed by parsing SVG path data from a String.