Chart FX 7 for Java Server

com.softwarefx
Enum HatchStyle

java.lang.Object
  extended by java.lang.Enum<HatchStyle>
      extended by com.softwarefx.HatchStyle
All Implemented Interfaces:
Serializable, Comparable<HatchStyle>

public enum HatchStyle
extends Enum<HatchStyle>

Specifies the different hatch patterns available.


Enum Constant Summary
BACKWARD_DIAGONAL
          A pattern of lines on a diagonal from upper right to lower left.
CROSS
          Specifies horizontal and vertical lines that cross.
DARK_DOWNWARD_DIAGONAL
          Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of ForwardDiagonal.
DARK_HORIZONTAL
          Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of HatchStyleHorizontal.
DARK_UPWARD_DIAGONAL
          Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal, and are twice its width, but the lines are not antialiased.
DARK_VERTICAL
          Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.
DASHED_DOWNWARD_DIAGONAL
          Specifies dashed diagonal lines, that slant to the right from top points to bottom points.
DASHED_HORIZONTAL
          Specifies dashed horizontal lines.
DASHED_UPWARD_DIAGONAL
          Specifies dashed diagonal lines, that slant to the left from top points to bottom points.
DASHED_VERTICAL
          Specifies dashed vertical lines.
DIAGONAL_BRICK
          Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.
DIAGONAL_CROSS
          Specifies forward diagonal and backward diagonal lines that cross.
DIVOT
          Specifies a hatch that has the appearance of divots.
DOTTED_DIAMOND
          Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.
DOTTED_GRID
          Specifies horizontal and vertical lines, each of which is composed of dots, that cross.
FORWARD_DIAGONAL
          A pattern of lines on a diagonal from upper left to lower right.
HORIZONTAL
          A pattern of horizontal lines.
HORIZONTAL_BRICK
          Specifies a hatch that has the appearance of horizontally layered bricks.
LARGE_CHECKER_BOARD
          Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.
LARGE_CONFETTI
          Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.
LARGE_GRID
          Specifies the hatch style Cross.
LIGHT_DOWNWARD_DIAGONAL
          Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than DownwardDiagonal, but they are not antialiased.
LIGHT_HORIZONTAL
          Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.
LIGHT_UPWARD_DIAGONAL
          Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal, but they are not antialiased.
LIGHT_VERTICAL
          Specifies vertical lines that are spaced 50 percent closer together than Vertical.
MAX
          Specifies hatch style SolidDiamond.
MIN
          Specifies hatch style Horizonal.
NARROW_HORIZONTAL
          Specifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).
NARROW_VERTICAL
          Specifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).
OUTLINED_DIAMOND
          Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.
PERCENT_05
          Specifies a 5-percent hatch.
PERCENT_10
          Specifies a 10-percent hatch.
PERCENT_20
          Specifies a 20-percent hatch.
PERCENT_25
          Specifies a 25-percent hatch.
PERCENT_30
          Specifies a 30-percent hatch.
PERCENT_40
          Specifies a 40-percent hatch.
PERCENT_50
          Specifies a 50-percent hatch.
PERCENT_60
          Specifies a 60-percent hatch.
PERCENT_70
          Specifies a 70-percent hatch.
PERCENT_75
          Specifies a 75-percent hatch.
PERCENT_80
          Specifies a 80-percent hatch.
PERCENT_90
          Specifies a 90-percent hatch.
PLAID
          Specifies a hatch that has the appearance of a plaid material.
SHINGLE
          Specifies a hatch that has the appearance of diagonally-layered shingles that slant to the right from top points to bottom points.
SMALL_CHECKER_BOARD
          Specifies a hatch that has the appearance of a checkerboard.
SMALL_CONFETTI
          Specifies a hatch that has the appearance of confetti.
SMALL_GRID
          Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.
SOLID_DIAMOND
          Specifies a hatch that has the appearance of a checkerboard placed diagonally.
SPHERE
          Specifies a hatch that has the appearance of spheres laid adjacent to one another.
TRELLIS
          Specifies a hatch that has the appearance of a trellis.
UDEFINED
           
VERTICAL
          A pattern of vertical lines.
WAVE
          Specifies horizontal lines that are composed of tildes.
WEAVE
          Specifies a hatch that has the appearance of a woven material.
WIDE_DOWNWARD_DIAGONAL
          Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style ForwardDiagonal, and are triple its width, but are not antialiased.
WIDE_UPWARD_DIAGONAL
          Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style BackwardDiagonal, and are triple its width, but are not antialiased.
ZIG_ZAG
          Specifies horizontal lines that are composed of zigzags.
 
Method Summary
static EnumSet<HatchStyle> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static HatchStyle getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<HatchStyle> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(HatchStyle value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static HatchStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HatchStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BACKWARD_DIAGONAL

public static final HatchStyle BACKWARD_DIAGONAL
A pattern of lines on a diagonal from upper right to lower left.


CROSS

public static final HatchStyle CROSS
Specifies horizontal and vertical lines that cross.


DARK_DOWNWARD_DIAGONAL

public static final HatchStyle DARK_DOWNWARD_DIAGONAL
Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of ForwardDiagonal. This hatch pattern is not antialiased.


DARK_HORIZONTAL

public static final HatchStyle DARK_HORIZONTAL
Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of HatchStyleHorizontal.


DARK_UPWARD_DIAGONAL

public static final HatchStyle DARK_UPWARD_DIAGONAL
Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal, and are twice its width, but the lines are not antialiased.


DARK_VERTICAL

public static final HatchStyle DARK_VERTICAL
Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.


DASHED_DOWNWARD_DIAGONAL

public static final HatchStyle DASHED_DOWNWARD_DIAGONAL
Specifies dashed diagonal lines, that slant to the right from top points to bottom points.


DASHED_HORIZONTAL

public static final HatchStyle DASHED_HORIZONTAL
Specifies dashed horizontal lines.


DASHED_UPWARD_DIAGONAL

public static final HatchStyle DASHED_UPWARD_DIAGONAL
Specifies dashed diagonal lines, that slant to the left from top points to bottom points.


DASHED_VERTICAL

public static final HatchStyle DASHED_VERTICAL
Specifies dashed vertical lines.


DIAGONAL_BRICK

public static final HatchStyle DIAGONAL_BRICK
Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.


DIAGONAL_CROSS

public static final HatchStyle DIAGONAL_CROSS
Specifies forward diagonal and backward diagonal lines that cross. The lines are antialiased.


DIVOT

public static final HatchStyle DIVOT
Specifies a hatch that has the appearance of divots.


DOTTED_DIAMOND

public static final HatchStyle DOTTED_DIAMOND
Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.


DOTTED_GRID

public static final HatchStyle DOTTED_GRID
Specifies horizontal and vertical lines, each of which is composed of dots, that cross.


FORWARD_DIAGONAL

public static final HatchStyle FORWARD_DIAGONAL
A pattern of lines on a diagonal from upper left to lower right.


HORIZONTAL

public static final HatchStyle HORIZONTAL
A pattern of horizontal lines.


HORIZONTAL_BRICK

public static final HatchStyle HORIZONTAL_BRICK
Specifies a hatch that has the appearance of horizontally layered bricks.


LARGE_CHECKER_BOARD

public static final HatchStyle LARGE_CHECKER_BOARD
Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.


LARGE_CONFETTI

public static final HatchStyle LARGE_CONFETTI
Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.


LARGE_GRID

public static final HatchStyle LARGE_GRID
Specifies the hatch style Cross.


LIGHT_DOWNWARD_DIAGONAL

public static final HatchStyle LIGHT_DOWNWARD_DIAGONAL
Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than DownwardDiagonal, but they are not antialiased.


LIGHT_HORIZONTAL

public static final HatchStyle LIGHT_HORIZONTAL
Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.


LIGHT_UPWARD_DIAGONAL

public static final HatchStyle LIGHT_UPWARD_DIAGONAL
Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal, but they are not antialiased.


LIGHT_VERTICAL

public static final HatchStyle LIGHT_VERTICAL
Specifies vertical lines that are spaced 50 percent closer together than Vertical.


MAX

public static final HatchStyle MAX
Specifies hatch style SolidDiamond.


MIN

public static final HatchStyle MIN
Specifies hatch style Horizonal.


NARROW_HORIZONTAL

public static final HatchStyle NARROW_HORIZONTAL
Specifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).


NARROW_VERTICAL

public static final HatchStyle NARROW_VERTICAL
Specifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).


OUTLINED_DIAMOND

public static final HatchStyle OUTLINED_DIAMOND
Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.


PERCENT_05

public static final HatchStyle PERCENT_05
Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:100.


PERCENT_10

public static final HatchStyle PERCENT_10
Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:100.


PERCENT_20

public static final HatchStyle PERCENT_20
Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:100.


PERCENT_25

public static final HatchStyle PERCENT_25
Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:100.


PERCENT_30

public static final HatchStyle PERCENT_30
Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:100.


PERCENT_40

public static final HatchStyle PERCENT_40
Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:100.


PERCENT_50

public static final HatchStyle PERCENT_50
Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:100.


PERCENT_60

public static final HatchStyle PERCENT_60
Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:100.


PERCENT_70

public static final HatchStyle PERCENT_70
Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:100.


PERCENT_75

public static final HatchStyle PERCENT_75
Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:100.


PERCENT_80

public static final HatchStyle PERCENT_80
Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.


PERCENT_90

public static final HatchStyle PERCENT_90
Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:100.


PLAID

public static final HatchStyle PLAID
Specifies a hatch that has the appearance of a plaid material.


SHINGLE

public static final HatchStyle SHINGLE
Specifies a hatch that has the appearance of diagonally-layered shingles that slant to the right from top points to bottom points.


SMALL_CHECKER_BOARD

public static final HatchStyle SMALL_CHECKER_BOARD
Specifies a hatch that has the appearance of a checkerboard.


SMALL_CONFETTI

public static final HatchStyle SMALL_CONFETTI
Specifies a hatch that has the appearance of confetti.


SMALL_GRID

public static final HatchStyle SMALL_GRID
Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.


SOLID_DIAMOND

public static final HatchStyle SOLID_DIAMOND
Specifies a hatch that has the appearance of a checkerboard placed diagonally.


SPHERE

public static final HatchStyle SPHERE
Specifies a hatch that has the appearance of spheres laid adjacent to one another.


TRELLIS

public static final HatchStyle TRELLIS
Specifies a hatch that has the appearance of a trellis.


VERTICAL

public static final HatchStyle VERTICAL
A pattern of vertical lines.


UDEFINED

public static final HatchStyle UDEFINED

WAVE

public static final HatchStyle WAVE
Specifies horizontal lines that are composed of tildes.


WEAVE

public static final HatchStyle WEAVE
Specifies a hatch that has the appearance of a woven material.


WIDE_DOWNWARD_DIAGONAL

public static final HatchStyle WIDE_DOWNWARD_DIAGONAL
Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style ForwardDiagonal, and are triple its width, but are not antialiased.


WIDE_UPWARD_DIAGONAL

public static final HatchStyle WIDE_UPWARD_DIAGONAL
Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style BackwardDiagonal, and are triple its width, but are not antialiased.


ZIG_ZAG

public static final HatchStyle ZIG_ZAG
Specifies horizontal lines that are composed of zigzags.

Method Detail

values

public static HatchStyle[] 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 (HatchStyle c : HatchStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

getEnumSetValue

public static EnumSet<HatchStyle> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static HatchStyle getEnumValue(int value)

Returns a Enum Item that represents the given numeric value.

Parameters:
value - numeric representation of the Enum item.

getUnderlyingValue

public static int getUnderlyingValue(HatchStyle value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

getUnderlyingValue

public static int getUnderlyingValue(EnumSet<HatchStyle> value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

http://www.softwarefx.com

2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.