Enum VectorEffect

java.lang.Object
java.lang.Enum<VectorEffect>
com.github.weisj.jsvg.attributes.VectorEffect
All Implemented Interfaces:
HasMatchName, Serializable, Comparable<VectorEffect>, java.lang.constant.Constable

public enum VectorEffect extends Enum<VectorEffect> implements HasMatchName
  • Enum Constant Details

    • None

      public static final VectorEffect None
    • NonScalingStroke

      public static final VectorEffect NonScalingStroke
    • NonScalingSize

      public static final VectorEffect NonScalingSize
    • NonRotation

      public static final VectorEffect NonRotation
    • FixedPosition

      public static final VectorEffect FixedPosition
  • Method Details

    • values

      public static VectorEffect[] 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

      public static VectorEffect valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • parse

      @NotNull public static @NotNull Set<VectorEffect> parse(@NotNull @NotNull AttributeNode attributeNode)
    • matchName

      @NotNull public @NotNull String matchName()
      Specified by:
      matchName in interface HasMatchName
    • 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)