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

GradientRectangle 对象在 EMR_GRADIENTFILL 记录(第 2.3.5.12 节)中使用 TriVertex 对象(第 2.2.26 节)定义矩形。

构造函数

构造函数描述
EmfGradientRectangle()

方法

方法描述
getUpperLeft()获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的左上顶点。
setUpperLeft(int value)获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的左上顶点。
getLowerRight()获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的右下顶点。
setLowerRight(int value)获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的右下顶点。

EmfGradientRectangle()

public EmfGradientRectangle()

getUpperLeft()

public int getUpperLeft()

获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的左上顶点。该索引必须小于数组的大小,大小由 EMR_GRADIENTFILL 记录的 nVer 字段定义。

Returns: int

setUpperLeft(int value)

public void setUpperLeft(int value)

获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的左上顶点。该索引必须小于数组的大小,大小由 EMR_GRADIENTFILL 记录的 nVer 字段定义。

Parameters:

参数类型描述
valueint

getLowerRight()

public int getLowerRight()

获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的右下顶点。该索引必须小于数组的大小,大小由 EMR_GRADIENTFILL 记录的 nVer 字段定义。

Returns: int

setLowerRight(int value)

public void setLowerRight(int value)

获取或设置指向 TriVertex 对象数组的索引,该索引指定矩形的右下顶点。该索引必须小于数组的大小,大小由 EMR_GRADIENTFILL 记录的 nVer 字段定义。

Parameters:

参数类型描述
valueint