次の方法で共有


ICanvas.DrawText(IAttributedText, Single, Single, Single, Single) メソッド

定義

境界ボックス内の属性付きテキストをキャンバスに描画します。

public:
 void DrawText(Microsoft::Maui::Graphics::Text::IAttributedText ^ value, float x, float y, float width, float height);
public void DrawText (Microsoft.Maui.Graphics.Text.IAttributedText value, float x, float y, float width, float height);
abstract member DrawText : Microsoft.Maui.Graphics.Text.IAttributedText * single * single * single * single -> unit
Public Sub DrawText (value As IAttributedText, x As Single, y As Single, width As Single, height As Single)

パラメーター

value
IAttributedText

表示する属性付きテキスト。

x
Single

x境界ボックスの開始座標。

y
Single

y境界ボックスの開始座標。

width
Single

境界ボックスの幅。

height
Single

境界ボックスの高さ。

適用対象