Face.GetPaletteColors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetPaletteColors(Int32) |
Returns all color entries for the specified font palette. |
| GetPaletteColors(Int32, Span<HBColor>) |
Fills a span with the color entries for the specified font palette. |
GetPaletteColors(Int32)
GetPaletteColors(Int32, Span<HBColor>)
Fills a span with the color entries for the specified font palette.
public int GetPaletteColors(int paletteIndex, Span<HarfBuzzSharp.HBColor> colors);
Parameters
- paletteIndex
- Int32
The zero-based index of the palette.
Returns
The number of color entries written to colors.