Class EmfGradientRectangle

Class EmfGradientRectangle

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

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

public sealed class EmfGradientRectangle : EmfObject
   {
       public int iMode;
       public int iReserved1;
       public double dblLeft;
       public double dblTop;
       public double dblRight;
       public double dblBottom;
       public int nColorCount;
       private IntPtr[] aiColors;
       private short[] asiReds;
       private short[] asiGreens;
       private short[] asi Blues;
       private short[] asiAlpha;
       public EmfGradientRectangle(int iMode, double dblLeft, double dblTop, double dblRight, double dblBottom, int nColorCount, IntPtr[] aiColors, short[] asiReds, short[] asiGreens, short[] asiBlues, short[] asiAlpha)
       {
           this.iMode = iMode;
           this.dblLeft = dblLeft;
           this.dblTop = dblTop;
           this.dblRight = dblRight;
           this.dblBottom = dblBottom;
           this.nColorCount = nColorCount;
           this.aiColors = aiColors;
           this.asiReds = asiReds;
           this.asiGreens = asiGreens;
           this.asiBlues = asiBlues;
           this.asiAlpha = asiAlpha;
       }
   }

Inheritance

object MetaObject EmfObject EmfGradientRectangle

Inherited Members

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

Constructors

EmfGradientRectangle()

public EmfGradientRectangle()
   {
   }

Properties

LowerRight

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

public int LowerRight
   {
      get;
      set;
   }

Property Value

int

UpperLeft

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

public int UpperLeft
   {
      get;
      set;
   }

Property Value

int

 English