WmfPatBlt
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject, com.aspose.imaging.fileformats.wmf.objects.WmfPointObject
public class WmfPatBlt extends WmfPointObject
The META_PATBLT record paints a specified rectangle using the brush that is defined in the playback device context. The brush color and the surface color or colors are combined using the specified raster operation.
Constructors
| Constructor | Description |
|---|---|
| WmfPatBlt() |
Methods
| Method | Description |
|---|---|
| getRasterOperation() | Gets or sets the raster operation. |
| setRasterOperation(int value) | Gets or sets the raster operation. |
| 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. |
WmfPatBlt()
public WmfPatBlt()
getRasterOperation()
public int getRasterOperation()
Gets or sets the raster operation.
Value: The raster operation code. This code MUST be one of the values in the Ternary Raster Operation enumeration table.
Returns: int
setRasterOperation(int value)
public void setRasterOperation(int value)
Gets or sets the raster operation.
Value: The raster operation code. This code MUST be one of the values in the Ternary Raster Operation enumeration table.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getHeight()
public short getHeight()
Gets or sets the height.
Value: The height, in logical units, of the rectangle.
Returns: short
setHeight(short value)
public void setHeight(short value)
Gets or sets the height.
Value: The height, in logical units, of the rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
getWidth()
public short getWidth()
Gets or sets the width.
Value: The width, in logical units, of the rectangle.
Returns: short
setWidth(short value)
public void setWidth(short value)
Gets or sets the width.
Value: The width, in logical units, of the rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |