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