次の方法で共有


RectangleGridAdorner コンストラクター

定義

RectangleGridAdorner クラスの新しいインスタンスを初期化します。

public RectangleGridAdorner (Microsoft.Maui.IView view, float density = 1, Microsoft.Maui.Graphics.Point? offset = default, Microsoft.Maui.Graphics.Color? fillColor = default, Microsoft.Maui.Graphics.Color? strokeColor = default);
new Microsoft.Maui.RectangleGridAdorner : Microsoft.Maui.IView * single * Nullable<Microsoft.Maui.Graphics.Point> * Microsoft.Maui.Graphics.Color * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.RectangleGridAdorner
Public Sub New (view As IView, Optional density As Single = 1, Optional offset As Nullable(Of Point) = Nothing, Optional fillColor As Color = Nothing, Optional strokeColor As Color = Nothing)

パラメーター

view
IView

IView りに装飾を作成する。

density
Single

密度設定をオーバーライドします。 既定値は1

offset
Nullable<Point>

描画可能なオブジェクトの配置に使用されるオフセット ポイント。 既定値: null

fillColor
Color

キャンバスの塗りつぶしの色。

strokeColor
Color

キャンバス ストロークの色。

適用対象