EmfSetPixelV
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.EmfDrawingRecordType
public final class EmfSetPixelV extends EmfDrawingRecordType
The EMR_SETPIXELV record defines the color of the pixel at the specified logical coordinates.
Constructors
| Constructor | Description |
|---|---|
| EmfSetPixelV(EmfRecord source) | Initializes a new instance of the EmfSetPixelV class. |
| EmfSetPixelV() | Initializes a new instance of the EmfSetPixelV class. |
Methods
| Method | Description |
|---|---|
| getPixel() | Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the logical coordinates for the pixel. |
| setPixel(Point value) | Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the logical coordinates for the pixel. |
| getArgb32Color() | Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pixel color. |
| setArgb32Color(int value) | Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pixel color. |
EmfSetPixelV(EmfRecord source)
public EmfSetPixelV(EmfRecord source)
Initializes a new instance of the EmfSetPixelV class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfSetPixelV()
public EmfSetPixelV()
Initializes a new instance of the EmfSetPixelV class.
getPixel()
public Point getPixel()
Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the logical coordinates for the pixel.
Returns: Point
setPixel(Point value)
public void setPixel(Point value)
Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the logical coordinates for the pixel.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |
getArgb32Color()
public int getArgb32Color()
Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pixel color.
Returns: int
setArgb32Color(int value)
public void setArgb32Color(int value)
Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pixel color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |