WmfDibBitBlt

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject

public class WmfDibBitBlt extends WmfObject

The META_DIBBITBLT record specifies the transfer of a block of pixels in device-independent format according to a raster operation.

Constructors

ConstructorDescription
WmfDibBitBlt()

Methods

MethodDescription
getRasterOperation()Gets or sets the raster operation.
setRasterOperation(int value)Gets or sets the raster operation.
getSrcPos()Gets or sets the source position.
setSrcPos(Point value)Gets or sets the source position.
getHeight()Gets or sets the height.
setHeight(short value)Gets or sets the height.
getWidth()Gets or sets the width.
setWidth(short value)Gets or sets the width.
getDstPos()Gets or sets the DST position.
setDstPos(Point value)Gets or sets the DST position.
getReserved()Gets or sets the reserved.
setReserved(int value)Gets or sets the reserved.
getSource()Gets or sets the source.
setSource(WmfDeviceIndependentBitmap value)Gets or sets the source.

WmfDibBitBlt()

public WmfDibBitBlt()

getRasterOperation()

public int getRasterOperation()

Gets or sets the raster operation.

Value: The source pixels, 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).

Returns: int

setRasterOperation(int value)

public void setRasterOperation(int value)

Gets or sets the raster operation.

Value: The source pixels, 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).

Parameters:

ParameterTypeDescription
valueint

getSrcPos()

public Point getSrcPos()

Gets or sets the source position.

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

Returns: Point

setSrcPos(Point value)

public void setSrcPos(Point value)

Gets or sets the source position.

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

Parameters:

ParameterTypeDescription
valuePoint

getHeight()

public short getHeight()

Gets or sets the height.

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

Returns: short

setHeight(short value)

public void setHeight(short value)

Gets or sets the height.

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

Parameters:

ParameterTypeDescription
valueshort

getWidth()

public short getWidth()

Gets or sets the width.

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

Returns: short

setWidth(short value)

public void setWidth(short value)

Gets or sets the width.

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

Parameters:

ParameterTypeDescription
valueshort

getDstPos()

public Point getDstPos()

Gets or sets the DST position.

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

Returns: Point

setDstPos(Point value)

public void setDstPos(Point value)

Gets or sets the DST position.

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

Parameters:

ParameterTypeDescription
valuePoint

getReserved()

public int getReserved()

Gets or sets the reserved.

Value: The reserved.

Returns: int

setReserved(int value)

public void setReserved(int value)

Gets or sets the reserved.

Value: The reserved.

Parameters:

ParameterTypeDescription
valueint

getSource()

public WmfDeviceIndependentBitmap getSource()

Gets or sets the source.

Value: A variable-sized DeviceIndependentBitmap Object (section 2.2.2.9) that defines image content. This object MUST be specified, even if the raster operation does not require a source.

Returns: WmfDeviceIndependentBitmap

setSource(WmfDeviceIndependentBitmap value)

public void setSource(WmfDeviceIndependentBitmap value)

Gets or sets the source.

Value: A variable-sized DeviceIndependentBitmap Object (section 2.2.2.9) that defines image content. This object MUST be specified, even if the raster operation does not require a source.

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap