Class GraphicsSetMix

All Implemented Interfaces:
Streamable, StructuredData

public class GraphicsSetMix extends AbstractGraphicsDrawingOrder
Sets the foreground mix mode.
  • Field Details

    • MODE_DEFAULT

      public static final byte MODE_DEFAULT
      default mode
      See Also:
    • MODE_OVERPAINT

      public static final byte MODE_OVERPAINT
      overpaint mode
      See Also:
    • mode

      private final byte mode
      the mix mode value
  • Constructor Details

    • GraphicsSetMix

      public GraphicsSetMix(byte mode)
      Main constructor
      Parameters:
      mode - the mix mode value
  • Method Details

    • 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
    • getDataLength

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