Package de.xima.fc.css.builder
Enum ECssTranformOrigin
- All Implemented Interfaces:
CssDefaultValue
,Serializable
,Comparable<ECssTranformOrigin>
Constants with the pre-defined values for the CSS property
transform-origin
.
The transform-origin CSS property sets the origin for an element's transformations.
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface de.xima.fc.css.builder.CssDefaultValue
INHERIT, INITIAL, REVERT, REVERT_LAYER, UNSET
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
value()
static ECssTranformOrigin
Returns the enum constant of this type with the specified name.static ECssTranformOrigin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOTTOM
100% along the vertical axis. -
CENTER
50% along the horizontal or vertical axis. -
LEFT
0% along the horizontal axis. -
RIGHT
100% along the horizontal axis. -
TOP
0% along the vertical axis.
-
-
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
-
toString
- Overrides:
toString
in classEnum<ECssTranformOrigin>
-
value
- Returns:
- The string value of this property that can be used when creating CSS strings.
-