SKGraphicsExtensions.AsSKRect(RectF) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a RectF to a SkiaSharp SKRect.
public:
[System::Runtime::CompilerServices::Extension]
static SkiaSharp::SKRect AsSKRect(Microsoft::Maui::Graphics::RectF target);
public static SkiaSharp.SKRect AsSKRect(this Microsoft.Maui.Graphics.RectF target);
static member AsSKRect : Microsoft.Maui.Graphics.RectF -> SkiaSharp.SKRect
<Extension()>
Public Function AsSKRect (target As RectF) As SKRect
Parameters
- target
- RectF
The RectF to convert.
Returns
A SkiaSharp SKRect that corresponds to the specified RectF.