Package com.sun.javafx.geom
Enum BaseBounds.BoundsType
- All Implemented Interfaces:
Serializable
,Comparable<BaseBounds.BoundsType>
- Enclosing class:
BaseBounds
The different types of BaseBounds that are currently supported.
We might support other types of bounds in the future (such as
SPHERE) which are also 2D or 3D but are defined in some way
other than with a bounding box. Such bounds can sometimes more
accurately represent the pixels
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BaseBounds.BoundsType
Returns the enum constant of this type with the specified name.static BaseBounds.BoundsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECTANGLE
-
BOX
-
-
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
-