다음을 통해 공유


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

캔버스 스트로크 색입니다.

적용 대상