WmfStretchBlt

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

public class WmfStretchBlt extends WmfObject

The META_STRETCHBLT record specifies the transfer of a block of pixels according to a raster operation, with possible expansion or contraction.

Constructors

ConstructorDescription
WmfStretchBlt()

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.
getSrcPosition()Gets or sets the source position.
setSrcPosition(Point value)Gets or sets the source position.
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.
getDstPosition()Gets or sets the DST position.
setDstPosition(Point value)Gets or sets the DST position.
getReserved()Gets or sets the reserved.
setReserved(short value)Gets or sets the reserved.
getBitmap()Gets or sets the bitmap.
setBitmap(WmfBitmap16 value)Gets or sets the bitmap.

WmfStretchBlt()

public WmfStretchBlt()

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

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

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

getSrcPosition()

public Point getSrcPosition()

Gets or sets the source position.

Value: The source position.

Returns: Point

setSrcPosition(Point value)

public void setSrcPosition(Point value)

Gets or sets the source position.

Value: The source position.

Parameters:

ParameterTypeDescription
valuePoint

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

getDstPosition()

public Point getDstPosition()

Gets or sets the DST position.

Value: The DST position.

Returns: Point

setDstPosition(Point value)

public void setDstPosition(Point value)

Gets or sets the DST position.

Value: The DST position.

Parameters:

ParameterTypeDescription
valuePoint

getReserved()

public short getReserved()

Gets or sets the reserved.

Value: The reserved.This field MUST be ignored.

Returns: short

setReserved(short value)

public void setReserved(short value)

Gets or sets the reserved.

Value: The reserved.This field MUST be ignored.

Parameters:

ParameterTypeDescription
valueshort

getBitmap()

public WmfBitmap16 getBitmap()

Gets or sets the bitmap.

Value: The bitmap.

Returns: WmfBitmap16

setBitmap(WmfBitmap16 value)

public void setBitmap(WmfBitmap16 value)

Gets or sets the bitmap.

Value: The bitmap.

Parameters:

ParameterTypeDescription
valueWmfBitmap16