Class EmfGradientTriangle

Class EmfGradientTriangle

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

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

public sealed class EmfGradientTriangle : EmfObject
{
    public PointF p1;
    public PointF p2;
    public PointF p3;
    public float angle;
    public byte[] gradient;
}

Inheritance

object MetaObject EmfObject EmfGradientTriangle

Inherited Members

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfGradientTriangle()

public EmfGradientTriangle()
   {
   }

Properties

Vertex1

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

public int Vertex1
   {
      get;
      set;
   }

Property Value

int

Vertex2

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

public int Vertex2
    {
        get;
        set;
    }

Property Value

int

Vertex3

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

public int Vertex3
   {
      get;
      set;
   }

Property Value

int

 English