DrawingContext.DrawGlyphRun(Brush, GlyphRun) 方法

定义

绘制指定的文本。

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)

参数

foregroundBrush
Brush

用于绘制文本的画笔。

glyphRun
GlyphRun

要绘制的文本。

适用于