Packages

 

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

Class EmfGradientTriangle

  • All Implemented Interfaces:
    Cloneable


    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)

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getVertex1()
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
      int getVertex2()
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
      int getVertex3()
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
      void setVertex1(int value)
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
      void setVertex2(int value)
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
      void setVertex3(int value)
      Gets or sets an index into an array of TriVertex objects that specifies a vertex of a triangle.
    • Constructor Detail

      • EmfGradientTriangle

        public EmfGradientTriangle()
    • Method Detail

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

      • setVertex1

        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.

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

      • setVertex2

        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.

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

      • setVertex3

        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.