Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfGlsBoundedRecord

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfGlsBoundedRecord
    extends EmfOpenGlRecordType

    The EMR_GLSBOUNDEDRECORD record specifies an OpenGL function with a bounding rectangle for output.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfGlsBoundedRecord(EmfRecord source)
      Initializes a new instance of the EmfGlsBoundedRecord class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBounds()
      Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.
      int getCbData()
      Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
      byte[] getData()
      Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
      void setBounds(Rectangle value)
      Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.
      void setCbData(int value)
      Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
      void setData(byte[] value)
      Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.
    • Constructor Detail

      • EmfGlsBoundedRecord

        public EmfGlsBoundedRecord(EmfRecord source)

        Initializes a new instance of the EmfGlsBoundedRecord class.

        Parameters:
        source - The source.
    • Method Detail

      • getBounds

        public Rectangle getBounds()

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.

      • setBounds

        public void setBounds(Rectangle value)

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a bounding rectangle, in device units, for output produced by executing the OpenGL function.

      • getCbData

        public int getCbData()

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field. If this value is zero, no data is attached to this record.

      • setCbData

        public void setCbData(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field. If this value is zero, no data is attached to this record.

      • getData

        public byte[] getData()

        Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.

      • setData

        public void setData(byte[] value)

        Gets or sets an optional array of bytes of cbData length that specifies data for the OpenGL function.