다음을 통해 공유


RectangleAdorner(IView, Single, Nullable<Point>, Color, Color) 생성자

정의

RectangleAdorner 클래스의 새 인스턴스를 초기화합니다.

public RectangleAdorner (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.RectangleAdorner : Microsoft.Maui.IView * single * Nullable<Microsoft.Maui.Graphics.Point> * Microsoft.Maui.Graphics.Color * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.RectangleAdorner
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

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

적용 대상