Enum Class VectorEffect
- All Implemented Interfaces:
HasMatchName, Serializable, Comparable<VectorEffect>, Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateVectorEffect(int flag) privateVectorEffect(@NotNull String matchName, int flag) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyEffects(@NotNull Set<VectorEffect> effects, @NotNull Output output, @NotNull RenderContext context, @Nullable AffineTransform elementTransform) static @NotNull ShapeapplyNonScalingStroke(@NotNull Output output, @NotNull RenderContext context, @NotNull Shape shape) private static intflags(@NotNull Set<VectorEffect> effects) @NotNull Stringstatic @NotNull Set<VectorEffect> parse(@NotNull AttributeNode attributeNode) private static voidupdateTransformForFlags(int flags, @NotNull AffineTransform transform, double x0, double y0) static VectorEffectReturns the enum constant of this class with the specified name.static VectorEffect[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
-
NonScalingStroke
-
NonScalingSize
-
NonRotation
-
FixedPosition
-
-
Field Details
-
matchName
-
flag
private final int flag
-
-
Constructor Details
-
VectorEffect
private VectorEffect(int flag) -
VectorEffect
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
parse
@NotNull public static @NotNull Set<VectorEffect> parse(@NotNull @NotNull AttributeNode attributeNode) -
matchName
- Specified by:
matchNamein interfaceHasMatchName
-
flags
-
applyEffects
public static void applyEffects(@NotNull @NotNull Set<VectorEffect> effects, @NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @Nullable @Nullable AffineTransform elementTransform) -
applyNonScalingStroke
@NotNull public static @NotNull Shape applyNonScalingStroke(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull Shape shape) -
updateTransformForFlags
private static void updateTransformForFlags(int flags, @NotNull @NotNull AffineTransform transform, double x0, double y0)
-