Class EmfPlusFillPolygon

Class EmfPlusFillPolygon

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

The EmfPlusFillPolygon record specifies filling the interior of a polygon.

public sealed class EmfPlusFillPolygon : EmfPlusDrawingRecordType
   {
       private short[] _points;
       private byte _polygonMode;
       private byte _windingRule;
       public short[] Points
       {
           get { return _points; }
           set { _points = value; }
       }
       public byte PolygonMode
       {
           get { return _polygonMode; }
           set { _polygonMode = value; }
       }
       public byte WindingRule
       {
           get { return _windingRule; }
           set { _windingRule = value; }
       }
       public EmfPlusFillPolygon()
       {
           this._points = new short[0];
       }
   }

Inheritance

object MetaObject EmfPlusRecord EmfPlusDrawingRecordType EmfPlusFillPolygon

Inherited Members

EmfPlusRecord.Type , EmfPlusRecord.Flags , EmfPlusRecord.Size , EmfPlusRecord.DataSize , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfPlusFillPolygon(EmfPlusRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusFillPolygon class.

public EmfPlusFillPolygon(EmfPlusRecord source)
   {
   }

Parameters

source EmfPlusRecord

The source.

Properties

BrushId

Gets or sets the brush identifierA 32-bit unsigned integer that defines the brush, the contentof which is determined by the S bit in the Flags field.

public int BrushId
   {
      get;
      set;
   }

Property Value

int

IsColor

Gets or sets a value indicating whether this instance is color.If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1).If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.

public bool IsColor
{
    get;
    set;
}

Property Value

bool

IsCompressed

Gets or sets a value indicating whether this instance is compressed.If set, PointData specifies absolute locations in the coordinate space with 16-bitinteger coordinates. If clear, PointData specifies absolute locations in the coordinatespace with 32-bit floating-point coordinates

public bool IsCompressed
{
    get;
    set;
}

Property Value

bool

IsRelative

Gets or sets a value indicating whether this instance is relative.If set, each element in PointData specifies a location in the coordinatespace that is relative to the location specified by the previous elementin the array. In the case of the first element in PointData, a previouslocation at coordinates (0,0) is assumed. If clear, PointData specifiesabsolute locations according to the C flag

public bool IsRelative
{
    get;
    set;
}

Property Value

bool

PointData

Gets or sets the point dataAn array of Count points that define the vertices of the polygon.The first two points in the array specify the first side of the polygon.Each additional point specifies a new side, the vertices of whichinclude the point and the previous point. If the last point and thefirst point do not coincide, they specify the last side of the polygon.

public PointF[] PointData
   {
      get;
      set;
   }

Property Value

PointF []

 English