Enum StyleFlag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StyleFlag>

    public enum StyleFlag
    extends java.lang.Enum<StyleFlag>
    Style information flags.
    • Enum Constant Detail

      • STROKE_COLOR

        public static final StyleFlag STROKE_COLOR
      • STROKE_WIDTH

        public static final StyleFlag STROKE_WIDTH
      • STROKE_LINE_CAP

        public static final StyleFlag STROKE_LINE_CAP
      • STROKE_LINE_JOIN

        public static final StyleFlag STROKE_LINE_JOIN
      • STROKE_MITER_LIMIT

        public static final StyleFlag STROKE_MITER_LIMIT
      • STROKE_DASH_ARRAY

        public static final StyleFlag STROKE_DASH_ARRAY
      • STROKE_DASH_OFFSET

        public static final StyleFlag STROKE_DASH_OFFSET
      • FILL_COLOR

        public static final StyleFlag FILL_COLOR
      • FILL_RULE

        public static final StyleFlag FILL_RULE
      • FONT_FAMILY

        public static final StyleFlag FONT_FAMILY
      • FONT_LINE_HEIGHT

        public static final StyleFlag FONT_LINE_HEIGHT
      • FONT_SIZE

        public static final StyleFlag FONT_SIZE
      • FONT_STYLE

        public static final StyleFlag FONT_STYLE
      • FONT_VARIANT

        public static final StyleFlag FONT_VARIANT
      • FONT_WEIGHT

        public static final StyleFlag FONT_WEIGHT
      • DROPSHADOW_XOFFSET

        public static final StyleFlag DROPSHADOW_XOFFSET
      • DROPSHADOW_YOFFSET

        public static final StyleFlag DROPSHADOW_YOFFSET
      • DROPSHADOW_RADIUS

        public static final StyleFlag DROPSHADOW_RADIUS
      • DROPSHADOW_COLOR

        public static final StyleFlag DROPSHADOW_COLOR
    • Method Detail

      • values

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

        public static StyleFlag 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