DomRectList Class

https://drafts.fxtf.org/geometry/#domrectlist

Implements

Constructors

NameDescription
DomRectList(IEnumerable<DomRect>)Creates a list that contains the given rectangles.

DomRectList(IEnumerable<DomRect>)

DomQuad.cs

Creates a list that contains the given rectangles.

public DomRectList(IEnumerable<DomRect> items)

Parameters

items IEnumerable<DomRect>

Properties

NameDescription
CountGets the number of rectangles in the list (the .NET counterpart of length).
LengthGets the number of rectangles in the list.

Gets the number of rectangles in the list (the .NET counterpart of length).

public int Count { get; }

Property value

int

Gets the number of rectangles in the list.

public uint Length { get; }

Indexers

NameDescription
this[int]Gets the rectangle at the given index.
this[uint]Gets the rectangle at the given index, or null when the index is out of range.

ItemAt overloads

this[int]

DomQuad.cs

Gets the rectangle at the given index.

public DomRect this[int index] { get; }
Parameters
index int
Property value

DomRect

this[uint]

DomQuad.cs

Gets the rectangle at the given index, or null when the index is out of range.

public DomRect? this[uint index] { get; }

Methods

NameDescription
GetEnumerator()Returns an enumerator that iterates through the collection.
Item(uint)Returns the rectangle at the given index, or null when the index is out of range.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.DomRect>.get_Item(int)
System.Collections.IEnumerable.GetEnumerator()

GetEnumerator()

DomQuad.cs

Returns an enumerator that iterates through the collection.

public IEnumerator<DomRect> GetEnumerator()

Returns

IEnumerator<DomRect> An enumerator that can be used to iterate through the collection.

Item(uint)

DomQuad.cs

Returns the rectangle at the given index, or null when the index is out of range.

public DomRect? Item(uint index)

System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.DomRect>.get_Item(int)

DomRect IReadOnlyList<DomRect>.get_Item(int index)

Parameters

index int

Returns

DomRect

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

DomQuad.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.