Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfStretchDib

  • All Implemented Interfaces:
    Cloneable


    public class WmfStretchDib
    extends WmfObject

    The wmf Stretch DIB objetc.

    • Constructor Detail

      • WmfStretchDib

        public WmfStretchDib()

        WMFs the record.

    • Method Detail

      • getRasterOperation

        public int getRasterOperation()

        Gets or sets the raster operation.

        Value: The current brush in the playback device context, and the destination pixels are to be combined to form the new image. This code MUST be one of the values in the Ternary Raster Operation Enumeration (section 2.1.1.31).
      • setRasterOperation

        public void setRasterOperation(int value)

        Gets or sets the raster operation.

        Value: The current brush in the playback device context, and the destination pixels are to be combined to form the new image. This code MUST be one of the values in the Ternary Raster Operation Enumeration (section 2.1.1.31).
      • getColorUsage

        public int getColorUsage()

        Gets or sets the color usage.

        Value:

        The Colors field of the DIB contains explicit RGB values or indexes into a palette. This value MUST be in the com.aspose.imaging.fileFormats.wmf.objects.wmfStretchDib.ColorUsage

        Enumeration (section 2.1.1.6).

      • setColorUsage

        public void setColorUsage(int value)

        Gets or sets the color usage.

        Value:

        The Colors field of the DIB contains explicit RGB values or indexes into a palette. This value MUST be in the com.aspose.imaging.fileFormats.wmf.objects.wmfStretchDib.ColorUsage

        Enumeration (section 2.1.1.6).

      • getSrcHeight

        public short getSrcHeight()

        Gets or sets the height of the source.

        Value: The height, in logical units, of the source rectangle.
      • setSrcHeight

        public void setSrcHeight(short value)

        Gets or sets the height of the source.

        Value: The height, in logical units, of the source rectangle.
      • getSrcWidth

        public short getSrcWidth()

        Gets or sets the width of the source.

        Value: The width, in logical units, of the source rectangle
      • setSrcWidth

        public void setSrcWidth(short value)

        Gets or sets the width of the source.

        Value: The width, in logical units, of the source rectangle
      • getYSrc

        public short getYSrc()

        Gets or sets the y source.

        Value: The y-coordinate, in logical units, of the upper-left corner of the source rectangle.
      • setYSrc

        public void setYSrc(short value)

        Gets or sets the y source.

        Value: The y-coordinate, in logical units, of the upper-left corner of the source rectangle.
      • getXSrc

        public short getXSrc()

        Gets or sets the x source.

        Value: The x-coordinate, in logical units, of the upper-left corner of the source rectangle.
      • setXSrc

        public void setXSrc(short value)

        Gets or sets the x source.

        Value: The x-coordinate, in logical units, of the upper-left corner of the source rectangle.
      • getDestHeight

        public short getDestHeight()

        Gets or sets the height of the dest.

        Value: The height, in logical units, of the destination rectangle.
      • setDestHeight

        public void setDestHeight(short value)

        Gets or sets the height of the dest.

        Value: The height, in logical units, of the destination rectangle.
      • getDestWidth

        public short getDestWidth()

        Gets or sets the width of the dest.

        Value: The width, in logical units, of the destination rectangle.
      • setDestWidth

        public void setDestWidth(short value)

        Gets or sets the width of the dest.

        Value: The width, in logical units, of the destination rectangle.
      • getYDest

        public short getYDest()

        Gets or sets the y dest.

        Value: The y-coordinate, in logical units, of the upper-left corner of the destination rectangle.
      • setYDest

        public void setYDest(short value)

        Gets or sets the y dest.

        Value: The y-coordinate, in logical units, of the upper-left corner of the destination rectangle.
      • getXDest

        public short getXDest()

        Gets or sets the x dest.

        Value: The x-coordinate, in logical units, of the upper-left corner of the destination rectangle.
      • setXDest

        public void setXDest(short value)

        Gets or sets the x dest.

        Value: The x-coordinate, in logical units, of the upper-left corner of the destination rectangle.
      • setSourceBitmap

        public void setSourceBitmap(WmfDeviceIndependentBitmap value)

        Gets or sets the source bitmap.

        Value: The source bitmap.