ToSKRect Method
Definition
Namespace: Avalonia.Skia
Assembly: Avalonia.Skia (in Avalonia.Skia.dll)
- C#
- VB
- F#
public static SKRect ToSKRect(
this Rect r
)
<ExtensionAttribute>
Public Shared Function ToSKRect (
r As Rect
) As SKRect
[<ExtensionAttribute>]
static member ToSKRect :
r : Rect -> SKRect
Parameters
Return Value
SKRect
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Rect. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).