Class EmfPlusFillRects

Class EmfPlusFillRects

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

The EmfPlusFillRects record specifies filling the interiors of a series of rectangles

public sealed class EmfPlusFillRects : EmfPlusDrawingRecordType
{
    private RectangleF m_rect;
    private Brush m_brush;
    public EmfPlusFillRects(RectangleF rect, Brush brush)
    {
        M_rect = rect;
        M_brush = brush;
    }
    public override void Render(EmfPlusRecordBuilder builder)
    {
        builder.DrawFillRectangles(M_rect, M_brush);
    }
}

Inheritance

object MetaObject EmfPlusRecord EmfPlusDrawingRecordType EmfPlusFillRects

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

EmfPlusFillRects(EmfPlusRecord)

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

public EmfPlusFillRects(EmfPlusRecord source)
   {
   }

Parameters

source EmfPlusRecord

The source.

Properties

BrushId

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

public int BrushId
   {
      get;
      set;
   }

Property Value

int

Compressed

Gets or sets a value indicating whether this Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusFillRects is compressed.If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectDatacontains an EmfPlusRectF object (section 2.2.2.39) object

public bool Compressed
   {
      get;
      set;
   }

Property Value

bool

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

RectData

Gets or sets the rectangle dataAn array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.

public RectangleF[] RectData
   {
      get;
      set;
   }

Property Value

RectangleF []

 English