DomRectList Class
https://drafts.fxtf.org/geometry/#domrectlist
public sealed class DomRectList : IEnumerable<DomRect>, IReadOnlyCollection<DomRect>, IReadOnlyList<DomRect>, IEnumerableConstructors
| Name | Description |
|---|---|
| DomRectList(IEnumerable<DomRect>) | Creates a list that contains the given rectangles. |
DomRectList(IEnumerable<DomRect>)
DomQuad.csCreates a list that contains the given rectangles.
public DomRectList(IEnumerable<DomRect> items)Parameters
itemsIEnumerable<DomRect>
Properties
| Name | Description |
|---|---|
| Count | Gets the number of rectangles in the list (the .NET counterpart of length). |
| Length | Gets the number of rectangles in the list. |
Count
DomQuad.csLength
DomQuad.csGets the number of rectangles in the list.
public uint Length { get; }Indexers
| Name | Description |
|---|---|
| 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.csthis[uint]
DomQuad.csGets the rectangle at the given index, or null when the index is out of range.
Methods
| Name | Description |
|---|---|
| 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.csReturns 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.csReturns the rectangle at the given index, or null when the index is out of range.