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.

Implements

Properties

NameDescription
CountGets the number of palettes.
LengthGets the number of palettes.

Gets the number of palettes.

public int Count { get; }

Property value

int

Gets the number of palettes.

public uint Length { get; }

Indexers

NameDescription
this[int]Gets the palette at the given index.
this[uint]Gets the palette at the given index.

ItemAt overloads

Gets the palette at the given index.

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

FontFacePalette

Gets the palette at the given index.

public FontFacePalette this[uint index] { get; }

Methods

NameDescription
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.cs

Returns 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)

Parameters

index int

Returns

FontFacePalette

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

FontFaceDetails.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.