Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfSetDibToDev

  • All Implemented Interfaces:
    Cloneable


    public class WmfSetDibToDev
    extends WmfObject

    The META_SETDIBTODEV record sets a block of pixels in the playback device context using device-independent color data. The source of the color data is a DIB.

    • Constructor Detail

      • WmfSetDibToDev

        public WmfSetDibToDev()
    • Method Detail

      • 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 MUST be one of the values in the com.aspose.imaging.fileFormats.wmf.objects.wmfSetDibToDev.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 MUST be one of the values in the com.aspose.imaging.fileFormats.wmf.objects.wmfSetDibToDev.ColorUsage Enumeration (section 2.1.1.6).
      • getScanCount

        public int getScanCount()

        Gets or sets the scan count.

        Value: The the number of scan lines in the source.
      • setScanCount

        public void setScanCount(int value)

        Gets or sets the scan count.

        Value: The the number of scan lines in the source.
      • getStartScan

        public int getStartScan()

        Gets or sets the start scan.

        Value: The starting scan line in the source.
      • setStartScan

        public void setStartScan(int value)

        Gets or sets the start scan.

        Value: The starting scan line in the source.
      • getDibPos

        public Point getDibPos()

        Gets or sets the dib position.

        Value: The coordinates, in logical units, of the source rectangle.
      • setDibPos

        public void setDibPos(Point value)

        Gets or sets the dib position.

        Value: The coordinates, in logical units, of the source rectangle.
      • getHeight

        public int getHeight()

        Gets or sets the height.

        Value: The height, in logical units, of the source and destination rectangles.
      • setHeight

        public void setHeight(int value)

        Gets or sets the height.

        Value: The height, in logical units, of the source and destination rectangles.
      • getWidth

        public int getWidth()

        Gets or sets the width.

        Value: The width, in logical units, of the source and destination rectangles.
      • setWidth

        public void setWidth(int value)

        Gets or sets the width.

        Value: The width, in logical units, of the source and destination rectangles.
      • getDestPos

        public Point getDestPos()

        Gets or sets the dest position.

        Value: The coordinates, in logical units, of the upper-left corner of the destination rectangle.
      • setDestPos

        public void setDestPos(Point value)

        Gets or sets the dest position.

        Value: The coordinates, in logical units, of the upper-left corner of the destination rectangle.
      • getDib

        public WmfDeviceIndependentBitmap getDib()

        Gets or sets the dib.

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

        public void setDib(WmfDeviceIndependentBitmap value)

        Gets or sets the dib.

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