Package com.github.weisj.jsvg.attributes
Enum VectorEffect
- All Implemented Interfaces:
HasMatchName,Serializable,Comparable<VectorEffect>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
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) @NotNull Stringstatic @NotNull Set<VectorEffect>parse(@NotNull AttributeNode attributeNode) static VectorEffectReturns the enum constant of this type with the specified name.static VectorEffect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
None
-
NonScalingStroke
-
NonScalingSize
-
NonRotation
-
FixedPosition
-
-
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
-
parse
@NotNull public static @NotNull Set<VectorEffect> parse(@NotNull @NotNull AttributeNode attributeNode) -
matchName
- Specified by:
matchNamein interfaceHasMatchName
-
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)
-