EmfPlgBlt
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 EmfPlgBlt extends EmfBitmapRecordType
The EMR_PLGBLT record specifies a block transfer of pixels from a source bitmap to a destination parallelogram, with the application of a color mask bitmap.
Constructors
Constructor | Description |
---|---|
EmfPlgBlt(EmfRecord source) | Initializes a new instance of the EmfPlgBlt class. |
Methods
Method | Description |
---|---|
getBounds() | Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination. |
setBounds(Rectangle value) | Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination. |
getAptlDest() | Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. |
setAptlDest(Point[] value) | Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. |
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. |
getCxSrc() | Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle. |
setCxSrc(int value) | Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle. |
getCySrc() | Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle. |
setCySrc(int value) | Gets or sets a 32-bit signed integer that specifies the logical height 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. |
getBkSrcArgb32Color() | Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the background color of the source bitmap. |
setBkSrcArgb32Color(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 bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. |
setSourceBitmap(WmfDeviceIndependentBitmap value) | Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. |
getMaskBitmap() | Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. |
setMaskBitmap(WmfDeviceIndependentBitmap value) | Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. |
EmfPlgBlt(EmfRecord source)
public EmfPlgBlt(EmfRecord source)
Initializes a new instance of the EmfPlgBlt
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
getBounds()
public Rectangle getBounds()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that defines the bounding rectangle, in device units, for output to the destination.
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 bounding rectangle, in device units, for output to the destination.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
getAptlDest()
public Point[] getAptlDest()
Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram, which is computed from the first three points (A, B, and C) by treating them as vectors. D = B + C A
Returns: com.aspose.imaging.Point[]
setAptlDest(Point[] value)
public void setAptlDest(Point[] value)
Gets or sets an array of three WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies three corners a parallelogram destination area for the block transfer. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram, which is computed from the first three points (A, B, and C) by treating them as vectors. D = B + C A
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point[] |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
getCxSrc()
public int getCxSrc()
Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.
Returns: int
setCxSrc(int value)
public void setCxSrc(int value)
Gets or sets a 32-bit signed integer that specifies the logical width of the source rectangle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getCySrc()
public int getCySrc()
Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.
Returns: int
setCySrc(int value)
public void setCySrc(int value)
Gets or sets a 32-bit signed integer that specifies the logical height of the source rectangle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | Matrix |
getBkSrcArgb32Color()
public int getBkSrcArgb32Color()
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
setBkSrcArgb32Color(int value)
public void setBkSrcArgb32Color(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:
Parameter | Type | Description |
---|---|---|
value | int |
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
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
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
getSourceBitmap()
public WmfDeviceIndependentBitmap getSourceBitmap()
Gets or sets a buffer containing the source bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT 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 bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WmfDeviceIndependentBitmap |
getMaskBitmap()
public WmfDeviceIndependentBitmap getMaskBitmap()
Gets or sets a buffer containing the mask bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT 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 bitmap, which are not required to be contiguous with the fixed portion of the EMR_PLGBLT record or with each other. Accordingly, fields in this buffer that are labeled “UndefinedSpace” are optional and MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WmfDeviceIndependentBitmap |