Class ObjectAreaDescriptor

  • All Implemented Interfaces:
    Streamable

    public class ObjectAreaDescriptor
    extends AbstractDescriptor
    The Object Area Descriptor structured field specifies the size and attributes of an object area presentation space.
    • Field Detail

      • OBJECT_AREA_POSITION_ID

        private static final byte OBJECT_AREA_POSITION_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • ObjectAreaDescriptor

        public ObjectAreaDescriptor​(int width,
                                    int height,
                                    int widthRes,
                                    int heightRes)
        Construct an object area descriptor for the specified object width and object height.
        Parameters:
        width - the object width.
        height - the object height.
        widthRes - the object width resolution.
        heightRes - the object height resolution.
    • 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.