Class GraphicsSetLineType

    • Field Detail

      • SHORT_DASHED

        public static final byte SHORT_DASHED
        short dashed line type
        See Also:
        Constant Field Values
      • DOUBLE_DOTTED

        public static final byte DOUBLE_DOTTED
        double dotted line type
        See Also:
        Constant Field Values
      • LONG_DASHED

        public static final byte LONG_DASHED
        long dashed line type
        See Also:
        Constant Field Values
      • DASH_DOUBLE_DOTTED

        public static final byte DASH_DOUBLE_DOTTED
        dash double dotted line type
        See Also:
        Constant Field Values
      • type

        private byte type
        line type
      • TYPES

        private static final java.lang.String[] TYPES
    • Constructor Detail

      • GraphicsSetLineType

        public GraphicsSetLineType​(byte type)
        Main constructor
        Parameters:
        type - line type
    • Method Detail

      • getDataLength

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object