- All Implemented Interfaces:
Serializable
,Comparable<AnimationLayer2D.Type>
- Enclosing class:
- AnimationLayer2D
An enum denoting the type of objects for known instances
of Graph.Graphic.
This is used by various factories.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe object is an arc with a chord connecting its endpoint.The object is an open arc.The object is an arc with lines from the center of an ellipse overlaying the arc to the arc's end points.The object is a path with a specified control point (at most two control points may appear consecutively).The object is a cubic Bézier curve.The object is an ellipse.The object is an image.The object is a line.The object is a path with a 'MOVE_TO' operation.The next descriptor, a SPLINE or SPLINE_FUNCTION, determines the coordinates for a 'MOVE_TO' operation.An object type has not been specified.Indicates the end of data describing a path.Indicates the start of data describing a path.The object is a quadratic Bézier curve.The object is a rectangle.The object is rectangle with rounded corners.Indicates that a path segment is closed.Indicates the end of a path segment.Indicates the end of a path segment but with the ending coordinates determined by the next entry, which is either a SPLINE_POINT or a SPLINE_FUNCTION that also starts a new splineIndicates the end of a path segment but with the ending coordinates determined by the previous entry, which is either a SPLINE_POINT or a SPLINE_FUNCTIONIndicates that the object is an instance ofAnimationShape2D
.Indicates that functions will be used to obtain a sequence of spline points for a path.Indicates a spline point along a path.The object consists of text. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimationLayer2D.Type
Returns the enum constant of this type with the specified name.static AnimationLayer2D.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NULL
An object type has not been specified. -
ARC_CHORD
The object is an arc with a chord connecting its endpoint. -
ARC_OPEN
The object is an open arc. -
ARC_PIE
The object is an arc with lines from the center of an ellipse overlaying the arc to the arc's end points. -
CONTROL_POINT
The object is a path with a specified control point (at most two control points may appear consecutively). -
CUBIC_CURVE
The object is a cubic Bézier curve. -
ELLIPSE
The object is an ellipse. -
IMAGE
The object is an image. -
LINE
The object is a line. -
MOVE_TO
The object is a path with a 'MOVE_TO' operation. -
MOVE_TO_NEXT
The next descriptor, a SPLINE or SPLINE_FUNCTION, determines the coordinates for a 'MOVE_TO' operation. -
PATH_START
Indicates the start of data describing a path. -
PATH_END
Indicates the end of data describing a path. -
QUAD_CURVE
The object is a quadratic Bézier curve. -
RECTANGLE
The object is a rectangle. -
ROUND_RECTANGLE
The object is rectangle with rounded corners. -
SEG_CLOSE
Indicates that a path segment is closed. -
SEG_END
Indicates the end of a path segment. -
SEG_END_PREV
Indicates the end of a path segment but with the ending coordinates determined by the previous entry, which is either a SPLINE_POINT or a SPLINE_FUNCTION -
SEG_END_NEXT
Indicates the end of a path segment but with the ending coordinates determined by the next entry, which is either a SPLINE_POINT or a SPLINE_FUNCTION that also starts a new spline -
SPLINE_POINT
Indicates a spline point along a path. -
SPLINE_FUNCTION
Indicates that functions will be used to obtain a sequence of spline points for a path. -
SHAPE
Indicates that the object is an instance ofAnimationShape2D
. -
TEXT
The object consists of text.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-