FontFacePalettes Class
The color palettes of a font face (https://drafts.csswg.org/css-font-loading/#fontfacepalettes). The CPAL table of the fonts is not exposed: the list is empty.
public sealed class FontFacePalettes : IEnumerable<FontFacePalette>, IReadOnlyCollection<FontFacePalette>, IReadOnlyList<FontFacePalette>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of palettes. |
| Length | Gets the number of palettes. |
Count
FontFaceDetails.csLength
FontFaceDetails.csGets the number of palettes.
public uint Length { get; }Indexers
| Name | Description |
|---|---|
| this[int] | Gets the palette at the given index. |
| this[uint] | Gets the palette at the given index. |
ItemAt overloads
this[int]
FontFaceDetails.csGets the palette at the given index.
public FontFacePalette this[int index] { get; }this[uint]
FontFaceDetails.csGets the palette at the given index.
public FontFacePalette this[uint index] { get; }Methods
| Name | Description |
|---|---|
| GetEnumerator() | Returns an enumerator that iterates through the collection. |
| System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Css.Om.FontFacePalette>.get_Item(int) | |
| System.Collections.IEnumerable.GetEnumerator() |
GetEnumerator()
FontFaceDetails.csReturns an enumerator that iterates through the collection.
public IEnumerator<FontFacePalette> GetEnumerator()Returns
IEnumerator<FontFacePalette> An enumerator that can be used to iterate through the collection.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Css.Om.FontFacePalette>.get_Item(int)
FontFacePalette IReadOnlyList<FontFacePalette>.get_Item(int index)No documentation is available.