EmfTriVertex

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject

public final class EmfTriVertex extends EmfObject

The TriVertex object specifies color and position information for the definition of a rectangle or triangle vertex.

Constructors

ConstructorDescription
EmfTriVertex()

Methods

MethodDescription
getX()Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.
setX(int value)Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.
getY()Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.
setY(int value)Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.
getRed()Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.
setRed(short value)Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.
getGreen()Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.
setGreen(short value)Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.
getBlue()Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.
setBlue(short value)Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.
getAlpha()Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.
setAlpha(short value)Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.

EmfTriVertex()

public EmfTriVertex()

getX()

public int getX()

Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.

Returns: int

setX(int value)

public void setX(int value)

Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.

Parameters:

ParameterTypeDescription
valueint

getY()

public int getY()

Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.

Returns: int

setY(int value)

public void setY(int value)

Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.

Parameters:

ParameterTypeDescription
valueint

getRed()

public short getRed()

Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.

Returns: short

setRed(short value)

public void setRed(short value)

Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.

Parameters:

ParameterTypeDescription
valueshort

getGreen()

public short getGreen()

Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.

Returns: short

setGreen(short value)

public void setGreen(short value)

Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.

Parameters:

ParameterTypeDescription
valueshort

getBlue()

public short getBlue()

Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.

Returns: short

setBlue(short value)

public void setBlue(short value)

Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.

Parameters:

ParameterTypeDescription
valueshort

getAlpha()

public short getAlpha()

Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.

Returns: short

setAlpha(short value)

public void setAlpha(short value)

Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.

Parameters:

ParameterTypeDescription
valueshort