EmfGradientTriangle

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

public final class EmfGradientTriangle extends EmfObject

The GradientTriangle object defines a triangle using TriVertex objects (section 2.2.26) in an EMR_GRADIENTFILL record (section 2.3.5.12)

Constructors

ConstructorDescription
EmfGradientTriangle()

Methods

MethodDescription
getVertex1()Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
setVertex1(int value)Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
getVertex2()Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
setVertex2(int value)Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
getVertex3()Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
setVertex3(int value)Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.

EmfGradientTriangle()

public EmfGradientTriangle()

getVertex1()

public int getVertex1()

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Returns: int

setVertex1(int value)

public void setVertex1(int value)

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Parameters:

ParameterTypeDescription
valueint

getVertex2()

public int getVertex2()

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Returns: int

setVertex2(int value)

public void setVertex2(int value)

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Parameters:

ParameterTypeDescription
valueint

getVertex3()

public int getVertex3()

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Returns: int

setVertex3(int value)

public void setVertex3(int value)

Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle. The index MUST be smaller than the size of the array, as defined by the nVer field of the EMR_GRADIENTFILL record.

Parameters:

ParameterTypeDescription
valueint