Class EmfPlusFillPath

Class EmfPlusFillPath

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

Fill path recordFLAGS:16-bit unsigned integer that provides information about how the operation is to be performed,and about the structure of the record.0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1S X X X X X X X | ObjectId |S (1 bit): This bit indicates the type of data in the BrushId field.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.X (1 bit): Reserved and MUST be ignored.ObjectId (1 byte): The index of the EmfPlusPath object (section 2.2.1.6) to fill, in the EMF+ Object Table. The value MUST be zero to 63, inclusive.

public sealed class EmfPlusFillPath : EmfPlusDrawingRecordType
{
    private ushort m_iStart;
    private usharp m_iEnd;
    private EmfPlusPathType m_pathType;
    private ushort[] m_aiPoints;
    private byte[] m_abData;
    public EmfPlusFillPath()
    {
    }
    public ushort Start
    {
        get { return this.m_iStart; }
        set { this.m_iStart = value; }
    }
    public ushort End
    {
        get { return this.m_iEnd; }
        set { this.m_iEnd = value; }
    }
    public EmfPlusPathType PathType
    {
        get { return this.m_pathType; }
        set { this.m_pathType = value; }
    }
    public ushort[] Points
    {
        get { return this.m_aiPoints; }
        set { this.m_aiPoints = value; }
    }
    public byte[] Data
    {
        get { return this.m_abData; }
        set { this.m_abData = value; }
    }
}

Inheritance

object MetaObject EmfPlusRecord EmfPlusDrawingRecordType EmfPlusFillPath

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

EmfPlusFillPath(EmfPlusRecord)

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

public EmfPlusFillPath(EmfPlusRecord source)
   {
   }

Parameters

source EmfPlusRecord

The source.

Properties

BrushId

Gets or sets the Brush IDA 32-bit unsigned integer that defines the brush, the content of which is determinedby 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

ObjectId

Gets or sets the object identifier.The index of the EmfPlusPath object (section 2.2.1.6) to fill, in theEMF+ Object Table. The value MUST be zero to 63, inclusive.

public byte ObjectId
    {
        get;
        set;
    }

Property Value

byte

 English