• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontCollectionExtensions
      • FontDescription
      • FontException
      • FontFamily
      • FontFamilyNotFoundException
      • FontMetrics
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphBounds
      • GlyphColor
      • GlyphLayoutMode
      • GlyphMetrics
      • GlyphMissingException
      • GlyphRendererParameters
      • GlyphType
      • HintingMode
      • HorizontalAlignment
      • HorizontalMetrics
      • IColorGlyphRenderer
      • IFontCollection
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IMetricsHeader
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • InvalidFontFileException
      • InvalidFontTableException
      • KerningMode
      • LayoutMode
      • LayoutModeExtensions
      • MissingFontTableException
      • SystemFonts
      • TextAlignment
      • TextAttributes
      • TextDecorations
      • TextDirection
      • TextJustification
      • TextMeasurer
      • TextOptions
      • TextRenderer
      • TextRun
      • VerticalAlignment
      • VerticalMetrics
      • WordBreaking
    • SixLabors.Fonts.Tables.AdvancedTypographic
      • FeatureTags
      • GlyphClassDef
      • Tag
    • SixLabors.Fonts.Tables.TrueType
      • TrueTypeGlyphMetrics
    • SixLabors.Fonts.Unicode
      • ArabicJoiningClass
      • ArabicJoiningGroup
      • ArabicJoiningType
      • BidiCharacterType
      • BidiClass
      • BidiPairedBracketType
      • CodePoint
      • GraphemeClusterClass
      • IndicPositionalCategory
      • IndicSyllabicCategory
      • LineBreakClass
      • MemoryExtensions
      • ScriptClass
      • SpanCodePointEnumerator
      • SpanGraphemeEnumerator
      • VerticalOrientationType
    • SixLabors.Fonts.WellKnownIds
      • KnownNameIds

    Interface IColorGlyphRenderer

    A surface that can have a glyph rendered to it as a series of actions, where the engine support colored glyphs (emoji).

    Inherited Members
    IGlyphRenderer.BeginFigure()
    IGlyphRenderer.MoveTo(Vector2)
    IGlyphRenderer.QuadraticBezierTo(Vector2, Vector2)
    IGlyphRenderer.CubicBezierTo(Vector2, Vector2, Vector2)
    IGlyphRenderer.LineTo(Vector2)
    IGlyphRenderer.EndFigure()
    IGlyphRenderer.EndGlyph()
    IGlyphRenderer.BeginGlyph(in FontRectangle, in GlyphRendererParameters)
    IGlyphRenderer.EndText()
    IGlyphRenderer.BeginText(in FontRectangle)
    IGlyphRenderer.EnabledDecorations()
    IGlyphRenderer.SetDecoration(TextDecorations, Vector2, Vector2, float)
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public interface IColorGlyphRenderer : IGlyphRenderer

    Methods

    | Edit this page View Source

    SetColor(GlyphColor)

    Sets the color to use for the current glyph.

    Declaration
    void SetColor(GlyphColor color)
    Parameters
    Type Name Description
    GlyphColor color

    The color to override the renders brush with.

    Extension Methods

    IGlyphRendererExtensions.Render(IGlyphRenderer, ReadOnlySpan<char>, TextOptions)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX