SKGraphicsExtensions.AsSizeF(SizeF) 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 .NET MAUI Graphics SizeF to a SkiaSharp SKSize.
public:
[System::Runtime::CompilerServices::Extension]
static SkiaSharp::SKSize AsSizeF(Microsoft::Maui::Graphics::SizeF target);
public static SkiaSharp.SKSize AsSizeF(this Microsoft.Maui.Graphics.SizeF target);
static member AsSizeF : Microsoft.Maui.Graphics.SizeF -> SkiaSharp.SKSize
<Extension()>
Public Function AsSizeF (target As SizeF) As SKSize
Parameters
- target
- SizeF
The SizeF to convert.
Returns
A SkiaSharp SKSize that corresponds to the specified SizeF.