Class GraphicsLine

    • Constructor Detail

      • GraphicsLine

        public GraphicsLine​(int[] coords,
                            boolean relative)
        Constructor
        Parameters:
        coords - the x/y coordinates for this object
        relative - is this a relative drawing order
    • Method Detail

      • 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
        Specified by:
        writeToStream in interface Streamable
        Overrides:
        writeToStream in class AbstractGraphicsCoord
        Parameters:
        os - the outputsteam stream
        Throws:
        java.io.IOException - an I/O exception of some sort has occurred.