共用方式為


AbstractCanvas<TState>.DrawText 方法

定義

public:
 abstract void DrawText(Microsoft::Maui::Graphics::Text::IAttributedText ^ value, float x, float y, float width, float height);
public abstract 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 MustOverride Sub DrawText (value As IAttributedText, x As Single, y As Single, width As Single, height As Single)

參數

x
Single
y
Single
width
Single
height
Single

實作

適用於