Interface ICustomFontEffect
A per-glyph effect for text rendering, passed through Effect.
public interface ICustomFontEffect
- Extension Methods
Remarks
Reserved for a future text-effects feature: the built-in font renderers don't call ApplyEffect(RenderGlyph, IRenderContext) yet, so setting Effect currently has no visible result.
Methods
ApplyEffect(RenderGlyph, IRenderContext)
Applies the effect to one glyph as it's drawn.
void ApplyEffect(RenderGlyph glyph, IRenderContext renderContext)
Parameters
glyphRenderGlyphThe glyph being drawn.
renderContextIRenderContextThe context the glyph is drawn with.