EmfMaskBlt

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfBitmapRecordType

public final class EmfMaskBlt extends EmfBitmapRecordType

The EMR_MASKBLT record specifies a block transfer of pixels from a source bitmap to a destination rectangle, optionally in combination with a brush pattern and with the application of a color mask bitmap, according to specified foreground and background raster operations.

Constructors

ConstructorDescription
EmfMaskBlt(EmfRecord source)Initializes a new instance of the EmfMaskBlt class.

Methods

MethodDescription
getBounds()Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.
setBounds(Rectangle value)Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.
getXDest()Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
setXDest(int value)Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
getYDest()Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
setYDest(int value)Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
getCxDest()Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.
setCxDest(int value)Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.
getCyDest()Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.
setCyDest(int value)Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.
getRop4()Gets or sets a quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap.
setRop4(EmfRop4 value)Gets or sets a quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap.
getXSrc()Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.
setXSrc(int value)Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.
getYSrc()Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.
setYSrc(int value)Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.
getXformSrc()Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
setXformSrc(Matrix value)Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.
getArgb32BkColorSrc()Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies the background color of the source bitmap.
setArgb32BkColorSrc(int value)Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies the background color of the source bitmap.
getUsageSrc()Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header.
setUsageSrc(int value)Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header.
getXMask()Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.
setXMask(int value)Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.
getYMask()Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.
setYMask(int value)Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.
getUsageMask()Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header.
setUsageMask(int value)Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header.
getSourceBitmap()Gets or sets a buffer containing the source bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other.
setSourceBitmap(WmfDeviceIndependentBitmap value)Gets or sets a buffer containing the source bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other.
getMaskBitmap()Gets or sets a buffer containing the mask bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other.
setMaskBitmap(WmfDeviceIndependentBitmap value)Gets or sets a buffer containing the mask bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other.

EmfMaskBlt(EmfRecord source)

public EmfMaskBlt(EmfRecord source)

Initializes a new instance of the EmfMaskBlt class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getBounds()

public Rectangle getBounds()

Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.

Returns: Rectangle

setBounds(Rectangle value)

public void setBounds(Rectangle value)

Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the destination bounding rectangle in device units.

Parameters:

ParameterTypeDescription
valueRectangle

getXDest()

public int getXDest()

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.

Returns: int

setXDest(int value)

public void setXDest(int value)

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the destination rectangle.

Parameters:

ParameterTypeDescription
valueint

getYDest()

public int getYDest()

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.

Returns: int

setYDest(int value)

public void setYDest(int value)

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the destination rectangle.

Parameters:

ParameterTypeDescription
valueint

getCxDest()

public int getCxDest()

Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.

Returns: int

setCxDest(int value)

public void setCxDest(int value)

Gets or sets a 32-bit signed integer that specifies the logical width of the destination rectangle.

Parameters:

ParameterTypeDescription
valueint

getCyDest()

public int getCyDest()

Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.

Returns: int

setCyDest(int value)

public void setCyDest(int value)

Gets or sets a 32-bit signed integer that specifies the logical height of the destination rectangle.

Parameters:

ParameterTypeDescription
valueint

getRop4()

public EmfRop4 getRop4()

Gets or sets a quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap. These values define how the color data of the source rectangle is to be combined with the color data of the destination rectangle.

Returns: EmfRop4

setRop4(EmfRop4 value)

public void setRop4(EmfRop4 value)

Gets or sets a quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap. These values define how the color data of the source rectangle is to be combined with the color data of the destination rectangle.

Parameters:

ParameterTypeDescription
valueEmfRop4

getXSrc()

public int getXSrc()

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

Returns: int

setXSrc(int value)

public void setXSrc(int value)

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the source rectangle.

Parameters:

ParameterTypeDescription
valueint

getYSrc()

public int getYSrc()

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

Returns: int

setYSrc(int value)

public void setYSrc(int value)

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the source rectangle.

Parameters:

ParameterTypeDescription
valueint

getXformSrc()

public Matrix getXformSrc()

Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.

Returns: Matrix

setXformSrc(Matrix value)

public void setXformSrc(Matrix value)

Gets or sets an XForm object (section 2.2.28) that specifies a world-space to page-space transform to apply to the source bitmap.

Parameters:

ParameterTypeDescription
valueMatrix

getArgb32BkColorSrc()

public int getArgb32BkColorSrc()

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies the background color of the source bitmap.

Returns: int

setArgb32BkColorSrc(int value)

public void setArgb32BkColorSrc(int value)

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8 that specifies the background color of the source bitmap.

Parameters:

ParameterTypeDescription
valueint

getUsageSrc()

public int getUsageSrc()

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration (section 2.1.9).

Returns: int

setUsageSrc(int value)

public void setUsageSrc(int value)

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the source bitmap header. This value MUST be in the DIBColors enumeration (section 2.1.9).

Parameters:

ParameterTypeDescription
valueint

getXMask()

public int getXMask()

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.

Returns: int

setXMask(int value)

public void setXMask(int value)

Gets or sets a 32-bit signed integer that specifies the logical x-coordinate of the upper-left corner of the mask bitmap.

Parameters:

ParameterTypeDescription
valueint

getYMask()

public int getYMask()

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.

Returns: int

setYMask(int value)

public void setYMask(int value)

Gets or sets a 32-bit signed integer that specifies the logical y-coordinate of the upper-left corner of the mask bitmap.

Parameters:

ParameterTypeDescription
valueint

getUsageMask()

public int getUsageMask()

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header. This value MUST be in the DIBColors enumeration.

Returns: int

setUsageMask(int value)

public void setUsageMask(int value)

Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the mask bitmap header. This value MUST be in the DIBColors enumeration.

Parameters:

ParameterTypeDescription
valueint

getSourceBitmap()

public WmfDeviceIndependentBitmap getSourceBitmap()

Gets or sets a buffer containing the source bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

Returns: WmfDeviceIndependentBitmap

setSourceBitmap(WmfDeviceIndependentBitmap value)

public void setSourceBitmap(WmfDeviceIndependentBitmap value)

Gets or sets a buffer containing the source bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap

getMaskBitmap()

public WmfDeviceIndependentBitmap getMaskBitmap()

Gets or sets a buffer containing the mask bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

Returns: WmfDeviceIndependentBitmap

setMaskBitmap(WmfDeviceIndependentBitmap value)

public void setMaskBitmap(WmfDeviceIndependentBitmap value)

Gets or sets a buffer containing the mask bitmaps, which are not required to be contiguous with the fixed portion of the EMR_MASKBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap