Enum VectorEffect

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  VectorEffect.Flags  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int flag  
      private @NotNull java.lang.String matchName  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private VectorEffect​(int flag)  
      private VectorEffect​(@NotNull java.lang.String matchName, int flag)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void applyEffects​(@NotNull java.util.Set<VectorEffect> effects, @NotNull Output output, @NotNull RenderContext context, @Nullable java.awt.geom.AffineTransform elementTransform)  
      static @NotNull java.awt.Shape applyNonScalingStroke​(@NotNull Output output, @NotNull RenderContext context, @NotNull java.awt.Shape shape)  
      private static int flags​(@NotNull java.util.Set<VectorEffect> effects)  
      @NotNull java.lang.String matchName()  
      static @NotNull java.util.Set<VectorEffect> parse​(@NotNull AttributeNode attributeNode)  
      private static void updateTransformForFlags​(int flags, @NotNull java.awt.geom.AffineTransform transform, double x0, double y0)  
      static VectorEffect valueOf​(java.lang.String name)
      Returns 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • matchName

        @NotNull
        private final @NotNull java.lang.String matchName
      • flag

        private final int flag
    • Constructor Detail

      • VectorEffect

        private VectorEffect​(int flag)
      • VectorEffect

        private VectorEffect​(@NotNull
                             @NotNull java.lang.String matchName,
                             int flag)
    • Method Detail

      • values

        public static VectorEffect[] 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 (VectorEffect c : VectorEffect.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VectorEffect 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 name
        java.lang.NullPointerException - if the argument is null
      • parse

        @NotNull
        public static @NotNull java.util.Set<VectorEffect> parse​(@NotNull
                                                                 @NotNull AttributeNode attributeNode)
      • matchName

        @NotNull
        public @NotNull java.lang.String matchName()
        Specified by:
        matchName in interface HasMatchName
      • flags

        private static int flags​(@NotNull
                                 @NotNull java.util.Set<VectorEffect> effects)
      • applyEffects

        public static void applyEffects​(@NotNull
                                        @NotNull java.util.Set<VectorEffect> effects,
                                        @NotNull
                                        @NotNull Output output,
                                        @NotNull
                                        @NotNull RenderContext context,
                                        @Nullable
                                        @Nullable java.awt.geom.AffineTransform elementTransform)
      • applyNonScalingStroke

        @NotNull
        public static @NotNull java.awt.Shape applyNonScalingStroke​(@NotNull
                                                                    @NotNull Output output,
                                                                    @NotNull
                                                                    @NotNull RenderContext context,
                                                                    @NotNull
                                                                    @NotNull java.awt.Shape shape)
      • updateTransformForFlags

        private static void updateTransformForFlags​(int flags,
                                                    @NotNull
                                                    @NotNull java.awt.geom.AffineTransform transform,
                                                    double x0,
                                                    double y0)