Uses of Class
javafx.scene.shape.Shape
Package
Description
Provides the set of classes for ease of use transition based animations.
Provides various
StyleConverter
classes
that convert CSS parsed values.
Provides classes to support user interface layout.
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides the set of classes for fonts and renderable Text Node.
-
Uses of Shape in javafx.animation
Modifier and TypeMethodDescriptionfinal Shape
PathTransition.getPath()
Gets the value of thepath
property.final Shape
FillTransition.getShape()
Gets the value of theshape
property.final Shape
StrokeTransition.getShape()
Gets the value of theshape
property.Modifier and TypeMethodDescriptionfinal ObjectProperty
<Shape> PathTransition.pathProperty()
The shape on which outline the node should be animated.final ObjectProperty
<Shape> FillTransition.shapeProperty()
The target shape of thisFillTransition
.final ObjectProperty
<Shape> StrokeTransition.shapeProperty()
The target shape of thisStrokeTransition
.Modifier and TypeMethodDescriptionfinal void
Sets the value of thepath
property.final void
Sets the value of theshape
property.final void
Sets the value of theshape
property.ModifierConstructorDescriptionFillTransition
(Duration duration, Shape shape) The constructor ofFillTransition
FillTransition
(Duration duration, Shape shape, Color fromValue, Color toValue) The constructor ofFillTransition
PathTransition
(Duration duration, Shape path) The constructor ofPathTransition
.PathTransition
(Duration duration, Shape path, Node node) The constructor ofPathTransition
.StrokeTransition
(Duration duration, Shape shape) The constructor ofStrokeTransition
StrokeTransition
(Duration duration, Shape shape, Color fromValue, Color toValue) The constructor ofStrokeTransition
-
Uses of Shape in javafx.css.converter
Modifier and TypeClassDescriptionclass
Converter to convert a SVG shape string into aShape
object.Modifier and TypeMethodDescriptionstatic StyleConverter
<String, Shape> ShapeConverter.getInstance()
Gets theShapeConverter
instance. -
Uses of Shape in javafx.scene.layout
Modifier and TypeMethodDescriptionfinal Shape
Region.getShape()
Gets the value of theshape
property.Modifier and TypeMethodDescriptionfinal ObjectProperty
<Shape> Region.shapeProperty()
When specified, theShape
will cause the region to be rendered as the specified shape rather than as a rounded rectangle. -
Uses of Shape in javafx.scene.shape
Modifier and TypeClassDescriptionclass
TheArc
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
).class
TheCircle
class creates a new circle with the specified radius and center location measured in pixels.class
TheCubiCurve
class defines a cubic Bézier parametric curve segment in (x,y) coordinate space.class
TheEllipse
class creates a new ellipse with the specified size and location in pixelsclass
This Line represents a line segment in(x,y)
coordinate space.class
ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.class
Creates a polygon, defined by an array of x,y coordinates.class
Creates a polyline, defined by the array of the segment points.class
TheQuadcurve
class defines a quadratic Bézier parametric curve segment in (x,y) coordinate space.class
TheRectangle
class defines a rectangle with the specified size and location.class
TheSVGPath
class represents a simple shape that is constructed by parsing SVG path data from a String.Modifier and TypeMethodDescriptionstatic Shape
Returns a newShape
which is created as an intersection of the specified input shapes.static Shape
Returns a newShape
which is created by subtracting the specified second shape from the first shape.static Shape
Returns a newShape
which is created as a union of the specified input shapes.Modifier and TypeMethodDescriptionstatic Shape
Returns a newShape
which is created as an intersection of the specified input shapes.static Shape
Returns a newShape
which is created by subtracting the specified second shape from the first shape.static Shape
Returns a newShape
which is created as a union of the specified input shapes. -
Uses of Shape in javafx.scene.text