EmfGradientRectangle Class
The GradientRectangle object defines a rectangle using TriVertex objects (section 2.2.26) in an EMR_GRADIENTFILL record (section 2.3.5.12).
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfObject
      Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfGradientRectangle

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfGradientRectangle : EmfObject

The EmfGradientRectangle type exposes the following members.

Constructors
  NameDescription
Public methodEmfGradientRectangle
Initializes a new instance of the EmfGradientRectangle class
Properties
  NameDescription
Public propertyLowerRight
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.
Public propertyUpperLeft
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.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also