EmfGradientRectangle

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

public final class EmfGradientRectangle extends EmfObject

The GradientRectangle object defines a rectangle using TriVertex objects (section 2.2.26) in an EMR_GRADIENTFILL record (section 2.3.5.12).

Constructors

ConstructorDescription
EmfGradientRectangle()

Methods

MethodDescription
getUpperLeft()Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle.
setUpperLeft(int value)Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle.
getLowerRight()Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle.
setLowerRight(int value)Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle.

EmfGradientRectangle()

public EmfGradientRectangle()

getUpperLeft()

public int getUpperLeft()

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

Returns: int

setUpperLeft(int value)

public void setUpperLeft(int value)

Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle. 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

getLowerRight()

public int getLowerRight()

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

Returns: int

setLowerRight(int value)

public void setLowerRight(int value)

Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle. 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