Class GraphicsSetPatternSymbol

All Implemented Interfaces:
Streamable, StructuredData

public class GraphicsSetPatternSymbol extends AbstractGraphicsDrawingOrder
Sets the pattern symbol to use when filling following GOCA structured fields
  • Field Details

    • DOTTED_DENSITY_1

      public static final byte DOTTED_DENSITY_1
      dotted density 1
      See Also:
    • DOTTED_DENSITY_2

      public static final byte DOTTED_DENSITY_2
      dotted density 2
      See Also:
    • DOTTED_DENSITY_3

      public static final byte DOTTED_DENSITY_3
      dotted density 3
      See Also:
    • DOTTED_DENSITY_4

      public static final byte DOTTED_DENSITY_4
      dotted density 4
      See Also:
    • DOTTED_DENSITY_5

      public static final byte DOTTED_DENSITY_5
      dotted density 5
      See Also:
    • DOTTED_DENSITY_6

      public static final byte DOTTED_DENSITY_6
      dotted density 6
      See Also:
    • DOTTED_DENSITY_7

      public static final byte DOTTED_DENSITY_7
      dotted density 7
      See Also:
    • DOTTED_DENSITY_8

      public static final byte DOTTED_DENSITY_8
      dotted density 8
      See Also:
    • VERTICAL_LINES

      public static final byte VERTICAL_LINES
      dotted density 9
      See Also:
    • HORIZONTAL_LINES

      public static final byte HORIZONTAL_LINES
      horizontal lines
      See Also:
    • DIAGONAL_LINES_BLTR_1

      public static final byte DIAGONAL_LINES_BLTR_1
      diagonal lines, bottom left to top right 1
      See Also:
    • DIAGONAL_LINES_BLTR_2

      public static final byte DIAGONAL_LINES_BLTR_2
      diagonal lines, bottom left to top right 2
      See Also:
    • DIAGONAL_LINES_TLBR_1

      public static final byte DIAGONAL_LINES_TLBR_1
      diagonal lines, top left to bottom right 1
      See Also:
    • DIAGONAL_LINES_TLBR_2

      public static final byte DIAGONAL_LINES_TLBR_2
      diagonal lines, top left to bottom right 2
      See Also:
    • NO_FILL

      public static final byte NO_FILL
      no fill
      See Also:
    • SOLID_FILL

      public static final byte SOLID_FILL
      solid fill
      See Also:
    • BLANK

      public static final byte BLANK
      blank (same as no fill)
      See Also:
  • Constructor Details

    • GraphicsSetPatternSymbol

      public GraphicsSetPatternSymbol(byte pattern)
      Main constructor
      Parameters:
      pattern - the pattern symbol to use
  • Method Details

    • getDataLength

      public int getDataLength()
      Returns the data length of this structured field
      Returns:
      the data length of this structured field
    • writeToStream

      public void writeToStream(OutputStream os) throws IOException
      DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
      Parameters:
      os - the outputsteam stream
      Throws:
      IOException - an I/O exception of some sort has occurred.
    • toString

      public String toString()
      Overrides:
      toString in class Object