Class GraphicsSetLineWidth

All Implemented Interfaces:
Streamable, StructuredData

public class GraphicsSetLineWidth extends AbstractGraphicsDrawingOrder
Sets the line width to use when stroking GOCA shapes (structured fields)
  • Field Details

    • multiplier

      private final int multiplier
      line width multiplier
  • Constructor Details

    • GraphicsSetLineWidth

      public GraphicsSetLineWidth(int multiplier)
      Main constructor
      Parameters:
      multiplier - the line width multiplier
  • 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
    • getOrderCode

      byte getOrderCode()
      Returns the order code of this structured field
      Specified by:
      getOrderCode in class AbstractGraphicsDrawingOrder
      Returns:
      the order code of this structured field