Compartir a través de


RectangleAdorner(IView, Single, Nullable<Point>, Color, Color) Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

view
IView

para IView crear el adorno alrededor.

density
Single

Invalide la configuración de densidad. Valor predeterminado: 1

offset
Nullable<Point>

Punto de desplazamiento utilizado para colocar el objeto dibujable. Valor predeterminado: null

fillColor
Color

Color de relleno del lienzo.

strokeColor
Color

Color de trazo de lienzo.

Se aplica a