WmfDibStrechBlt

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

public class WmfDibStrechBlt extends WmfObject

The META_DIBSTRETCHBLT record specifies the transfer of a block of pixels in device-independent format according to a raster operation, with possible expansion or contraction.

Constructors

ConstructorDescription
WmfDibStrechBlt()WMFs the record.

Methods

MethodDescription
getRasterOperation()Gets or sets the raster operation.
setRasterOperation(int value)Gets or sets the raster operation.
getSrcHeight()Gets or sets the height of the source.
setSrcHeight(short value)Gets or sets the height of the source.
getSrcWidth()Gets or sets the width of the source.
setSrcWidth(short value)Gets or sets the width of the source.
getYSrc()Gets or sets the y source.
setYSrc(short value)Gets or sets the y source.
getXSrc()Gets or sets the x source.
setXSrc(short value)Gets or sets the x source.
getDestHeight()Gets or sets the height of the dest.
setDestHeight(short value)Gets or sets the height of the dest.
getDestWidth()Gets or sets the width of the dest.
setDestWidth(short value)Gets or sets the width of the dest.
getYDest()Gets or sets the y dest.
setYDest(short value)Gets or sets the y dest.
getXDest()Gets or sets the x dest.
setXDest(short value)Gets or sets the x dest.
getSourceBitmap()Gets or sets the source bitmap.
setSourceBitmap(WmfDeviceIndependentBitmap value)Gets or sets the source bitmap.

WmfDibStrechBlt()

public WmfDibStrechBlt()

WMFs the record.

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).

Returns: int

setRasterOperation(int value)

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).

Parameters:

ParameterTypeDescription
valueint

getSrcHeight()

public short getSrcHeight()

Gets or sets the height of the source.

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

Returns: short

setSrcHeight(short value)

public void setSrcHeight(short value)

Gets or sets the height of the source.

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

Parameters:

ParameterTypeDescription
valueshort

getSrcWidth()

public short getSrcWidth()

Gets or sets the width of the source.

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

Returns: short

setSrcWidth(short value)

public void setSrcWidth(short value)

Gets or sets the width of the source.

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

Parameters:

ParameterTypeDescription
valueshort

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.

Returns: short

setYSrc(short value)

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.

Parameters:

ParameterTypeDescription
valueshort

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.

Returns: short

setXSrc(short value)

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.

Parameters:

ParameterTypeDescription
valueshort

getDestHeight()

public short getDestHeight()

Gets or sets the height of the dest.

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

Returns: short

setDestHeight(short value)

public void setDestHeight(short value)

Gets or sets the height of the dest.

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

Parameters:

ParameterTypeDescription
valueshort

getDestWidth()

public short getDestWidth()

Gets or sets the width of the dest.

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

Returns: short

setDestWidth(short value)

public void setDestWidth(short value)

Gets or sets the width of the dest.

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

Parameters:

ParameterTypeDescription
valueshort

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.

Returns: short

setYDest(short value)

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.

Parameters:

ParameterTypeDescription
valueshort

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.

Returns: short

setXDest(short value)

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.

Parameters:

ParameterTypeDescription
valueshort

getSourceBitmap()

public WmfDeviceIndependentBitmap getSourceBitmap()

Gets or sets the source bitmap.

Value: The source bitmap.

Returns: WmfDeviceIndependentBitmap

setSourceBitmap(WmfDeviceIndependentBitmap value)

public void setSourceBitmap(WmfDeviceIndependentBitmap value)

Gets or sets the source bitmap.

Value: The source bitmap.

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap