Package | Description |
---|---|
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Shape> |
PathTransition.pathProperty()
The shape on which outline the node should be animated.
|
ObjectProperty<Shape> |
FillTransition.shapeProperty()
The target shape of this
FillTransition . |
ObjectProperty<Shape> |
StrokeTransition.shapeProperty()
The target shape of this
StrokeTransition . |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
FillTransition(Duration duration,
Shape shape)
The constructor of
FillTransition |
FillTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
FillTransition |
PathTransition(Duration duration,
Shape path)
The constructor of
PathTransition . |
PathTransition(Duration duration,
Shape path,
Node node)
The constructor of
PathTransition . |
StrokeTransition(Duration duration,
Shape shape)
The constructor of
StrokeTransition |
StrokeTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
StrokeTransition |
Modifier and Type | Method and Description |
---|---|
Shape |
Region.getShape()
Gets the value of the property shape.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Shape> |
Region.shapeProperty()
When specified, the
shape will cause the region to be
rendered as the specified shape rather than as a rounded rectangle. |
Modifier and Type | Method and Description |
---|---|
void |
Region.setShape(Shape value)
Sets the value of the property shape.
|
Modifier and Type | Class and Description |
---|---|
class |
Arc
The
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 ,
or ArcType.ROUND ). |
class |
Circle
The
Circle class creates a new circle
with the specified radius and center location measured in pixels
Example usage. |
class |
CubicCurve
The
CubiCurve class defines a cubic Bézier parametric curve segment
in (x,y) coordinate space. |
class |
Ellipse
The
Ellipse class creates a new ellipse
with the specified size and location in pixels |
class |
Line
This Line represents a line segment in
(x,y)
coordinate space. |
class |
Path
The
Path 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
The
Quadcurve class defines a quadratic Bézier parametric curve
segment in (x,y) coordinate space. |
class |
Rectangle
The
Rectangle class defines a rectangle
with the specified size and location. |
class |
SVGPath
The
SVGPath class represents a simple shape that is constructed by
parsing SVG path data from a String. |
Modifier and Type | Method and Description |
---|---|
static Shape |
Shape.intersect(Shape shape1,
Shape shape2)
Returns a new
Shape which is created as an intersection of the
specified input shapes. |
static Shape |
Shape.subtract(Shape shape1,
Shape shape2)
Returns a new
Shape which is created by subtracting the specified
second shape from the first shape. |
static Shape |
Shape.union(Shape shape1,
Shape shape2)
Returns a new
Shape which is created as a union of the specified
input shapes. |
Modifier and Type | Method and Description |
---|---|
static Shape |
Shape.intersect(Shape shape1,
Shape shape2)
Returns a new
Shape which is created as an intersection of the
specified input shapes. |
static Shape |
Shape.subtract(Shape shape1,
Shape shape2)
Returns a new
Shape which is created by subtracting the specified
second shape from the first shape. |
static Shape |
Shape.union(Shape shape1,
Shape shape2)
Returns a new
Shape which is created as a union of the specified
input shapes. |
Modifier and Type | Class and Description |
---|---|
class |
Text
The
Text class defines a node that displays a text. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.