Sdílet prostřednictvím


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

Definice

Inicializuje novou instanci RectangleAdorner třídy.

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)

Parametry

view
IView

An IView k vytvoření ozdoby kolem.

density
Single

Přepište nastavení hustoty. Výchozí: 1

offset
Nullable<Point>

Bod posunu používaný k umístění nakresleného objektu. Výchozí: null

fillColor
Color

Barva výplně plátna.

strokeColor
Color

Barva tahu plátna.

Platí pro