Module com.github.weisj.jsvg
Enum TransformPart.TransformType
- java.lang.Object
-
- java.lang.Enum<TransformPart.TransformType>
-
- com.github.weisj.jsvg.attributes.transform.TransformPart.TransformType
-
- All Implemented Interfaces:
HasMatchName
,java.io.Serializable
,java.lang.Comparable<TransformPart.TransformType>
- Enclosing class:
- TransformPart
public static enum TransformPart.TransformType extends java.lang.Enum<TransformPart.TransformType> implements HasMatchName
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.lang.String
matchName
-
Constructor Summary
Constructors Modifier Constructor Description private
TransformType()
private
TransformType(@NotNull java.lang.String matchName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) TransformPart.TransformType
interpolationType()
@NotNull java.lang.String
matchName()
static TransformPart.TransformType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransformPart.TransformType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATRIX
public static final TransformPart.TransformType MATRIX
-
TRANSLATE
public static final TransformPart.TransformType TRANSLATE
-
TRANSLATE_X
public static final TransformPart.TransformType TRANSLATE_X
-
TRANSLATE_Y
public static final TransformPart.TransformType TRANSLATE_Y
-
SCALE
public static final TransformPart.TransformType SCALE
-
SCALE_X
public static final TransformPart.TransformType SCALE_X
-
SCALE_Y
public static final TransformPart.TransformType SCALE_Y
-
ROTATE
public static final TransformPart.TransformType ROTATE
-
SKEW
public static final TransformPart.TransformType SKEW
-
SKEW_X
public static final TransformPart.TransformType SKEW_X
-
SKEW_Y
public static final TransformPart.TransformType SKEW_Y
-
-
Method Detail
-
values
public static TransformPart.TransformType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransformPart.TransformType c : TransformPart.TransformType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformPart.TransformType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
matchName
@NotNull public @NotNull java.lang.String matchName()
- Specified by:
matchName
in interfaceHasMatchName
-
interpolationType
TransformPart.TransformType interpolationType()
-
-