getColorLayers method

List<ColorGlyphLayer> getColorLayers(
  1. int glyphId, {
  2. int foregroundColor = 0xFF000000,
})

Get the colored layers for a color glyph. Returns an empty list for non-color glyphs.

Implementation

List<ColorGlyphLayer> getColorLayers(int glyphId,
        {int foregroundColor = 0xFF000000}) =>
    const [];