Bearbeiten

Freigeben über


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
Public MustOverride Sub DrawGlyphRun (foregroundBrush As Brush, glyphRun As GlyphRun)

Parameters

foregroundBrush
Brush

The brush used to paint the text.

glyphRun
GlyphRun

The text to draw.

Applies to