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

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

Methods

MethodDescription
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:

ParameterTypeDescription
sourceEmfRecordThe 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:

ParameterTypeDescription
valuePoint

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:

ParameterTypeDescription
valueint