共用方式為


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

要繪製的文字。

適用於