Packages

 

com.aspose.imaging.fileformats.emf.emf.objects

Class EmfGradientRectangle

  • All Implemented Interfaces:
    Cloneable


    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).

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getLowerRight()
      Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle.
      int getUpperLeft()
      Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle.
      void setLowerRight(int value)
      Gets or sets an index into an array of TriVertex objects that specifies the lower-right vertex of a rectangle.
      void setUpperLeft(int value)
      Gets or sets an index into an array of TriVertex objects that specifies the upper-left vertex of a rectangle.
    • Constructor Detail

      • EmfGradientRectangle

        public EmfGradientRectangle()
    • Method Detail

      • 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.

      • setUpperLeft

        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.

      • 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.

      • setLowerRight

        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.