Uses of Class
javafx.scene.shape.Shape
Package | Description |
---|---|
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.css.converter |
Provides various
StyleConverter classes
that convert CSS parsed values. |
javafx.scene.layout |
Provides classes to support user interface layout.
|
javafx.scene.shape |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
-
Uses of Shape in javafx.animation
Methods in javafx.animation that return Shape Modifier and Type Method Description Shape
PathTransition. getPath()
Gets the value of the property path.Shape
FillTransition. getShape()
Gets the value of the property shape.Shape
StrokeTransition. getShape()
Gets the value of the property shape.Methods in javafx.animation that return types with arguments of type Shape Modifier and Type Method Description ObjectProperty<Shape>
PathTransition. pathProperty()
The shape on which outline the node should be animated.ObjectProperty<Shape>
FillTransition. shapeProperty()
The target shape of thisFillTransition
.ObjectProperty<Shape>
StrokeTransition. shapeProperty()
The target shape of thisStrokeTransition
.Methods in javafx.animation with parameters of type Shape Modifier and Type Method Description void
PathTransition. setPath(Shape value)
Sets the value of the property path.void
FillTransition. setShape(Shape value)
Sets the value of the property shape.void
StrokeTransition. setShape(Shape value)
Sets the value of the property shape.Constructors in javafx.animation with parameters of type Shape Constructor Description FillTransition(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
Methods in javafx.css.converter that return Shape Modifier and Type Method Description Shape
ShapeConverter. convert(ParsedValue<String,Shape> value, Font font)
Methods in javafx.css.converter that return types with arguments of type Shape Modifier and Type Method Description static StyleConverter<String,Shape>
ShapeConverter. getInstance()
Method parameters in javafx.css.converter with type arguments of type Shape Modifier and Type Method Description Shape
ShapeConverter. convert(ParsedValue<String,Shape> value, Font font)
-
Uses of Shape in javafx.scene.layout
Methods in javafx.scene.layout that return Shape Modifier and Type Method Description Shape
Region. getShape()
Gets the value of the property shape.Methods in javafx.scene.layout that return types with arguments of type Shape Modifier and Type Method Description ObjectProperty<Shape>
Region. shapeProperty()
When specified, theShape
will cause the region to be rendered as the specified shape rather than as a rounded rectangle.Methods in javafx.scene.layout with parameters of type Shape Modifier and Type Method Description void
Region. setShape(Shape value)
Sets the value of the property shape. -
Uses of Shape in javafx.scene.shape
Subclasses of Shape in javafx.scene.shape Modifier and Type Class Description class
Arc
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
Circle
TheCircle
class creates a new circle with the specified radius and center location measured in pixels.class
CubicCurve
TheCubiCurve
class defines a cubic Bézier parametric curve segment in (x,y) coordinate space.class
Ellipse
TheEllipse
class creates a new ellipse with the specified size and location in pixelsclass
Line
This Line represents a line segment in(x,y)
coordinate space.class
Path
ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.class
Polygon
Creates a polygon, defined by an array of x,y coordinates.class
Polyline
Creates a polyline, defined by the array of the segment points.class
QuadCurve
TheQuadcurve
class defines a quadratic Bézier parametric curve segment in (x,y) coordinate space.class
Rectangle
TheRectangle
class defines a rectangle with the specified size and location.class
SVGPath
TheSVGPath
class represents a simple shape that is constructed by parsing SVG path data from a String.Methods in javafx.scene.shape that return Shape Modifier and Type Method Description static Shape
Shape. intersect(Shape shape1, Shape shape2)
Returns a newShape
which is created as an intersection of the specified input shapes.static Shape
Shape. subtract(Shape shape1, Shape shape2)
Returns a newShape
which is created by subtracting the specified second shape from the first shape.static Shape
Shape. union(Shape shape1, Shape shape2)
Returns a newShape
which is created as a union of the specified input shapes.Methods in javafx.scene.shape with parameters of type Shape Modifier and Type Method Description static Shape
Shape. intersect(Shape shape1, Shape shape2)
Returns a newShape
which is created as an intersection of the specified input shapes.static Shape
Shape. subtract(Shape shape1, Shape shape2)
Returns a newShape
which is created by subtracting the specified second shape from the first shape.static Shape
Shape. union(Shape shape1, Shape shape2)
Returns a newShape
which is created as a union of the specified input shapes. -
Uses of Shape in javafx.scene.text
Subclasses of Shape in javafx.scene.text Modifier and Type Class Description class
Text
TheText
class defines a node that displays a text.