DrawingContext.DrawGlyphRun(Brush, GlyphRun) DrawingContext.DrawGlyphRun(Brush, GlyphRun) DrawingContext.DrawGlyphRun(Brush, GlyphRun) Method

Definition

Draws the specified text.

public:
 abstract void DrawGlyphRun(System::Windows::Media::Brush ^ foregroundBrush, System::Windows::Media::GlyphRun ^ glyphRun);
public abstract void DrawGlyphRun (System.Windows.Media.Brush foregroundBrush, System.Windows.Media.GlyphRun glyphRun);
abstract member DrawGlyphRun : System.Windows.Media.Brush * System.Windows.Media.GlyphRun -> unit

Parameters

foregroundBrush
Brush Brush Brush

The brush used to paint the text.

glyphRun
GlyphRun GlyphRun GlyphRun

The text to draw.

Applies to