Class GraphicsDataDescriptor

    • Field Detail

      • xlwind

        private final int xlwind
      • xrwind

        private final int xrwind
      • ybwind

        private final int ybwind
      • ytwind

        private final int ytwind
    • Constructor Detail

      • GraphicsDataDescriptor

        public GraphicsDataDescriptor​(int xlwind,
                                      int xrwind,
                                      int ybwind,
                                      int ytwind,
                                      int widthRes,
                                      int heightRes)
        Main constructor
        Parameters:
        xlwind - the left edge of the graphics window
        xrwind - the right edge of the graphics window
        ybwind - the top edge of the graphics window
        ytwind - the bottom edge of the graphics window
        widthRes - the width resolution of the graphics window
        heightRes - the height resolution of the graphics window
    • 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 AbstractStructuredObject
        Parameters:
        os - the outputsteam stream
        Throws:
        java.io.IOException - an I/O exception of some sort has occurred.
      • getDrawingOrderSubset

        private byte[] getDrawingOrderSubset()
        Returns the drawing order subset data
        Returns:
        the drawing order subset data
      • getWindowSpecification

        private byte[] getWindowSpecification()
        Returns the window specification data
        Returns:
        the window specification data