ToAvaloniaRect Method
Definition
Namespace: Avalonia.Skia
Assembly: Avalonia.Skia (in Avalonia.Skia.dll)
- C#
- VB
- F#
public static Rect ToAvaloniaRect(
this SKRect r
)
<ExtensionAttribute>
Public Shared Function ToAvaloniaRect (
r As SKRect
) As Rect
[<ExtensionAttribute>]
static member ToAvaloniaRect :
r : SKRect -> Rect
Parameters
- SKRect
Return Value
RectUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type SKRect. 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).