Share via


SKGraphicsExtensions.ToSKPoint(PointF) Method

Definition

Converts a PointF to a SkiaSharp SKPoint.

public:
[System::Runtime::CompilerServices::Extension]
 static SkiaSharp::SKPoint ToSKPoint(Microsoft::Maui::Graphics::PointF target);
public static SkiaSharp.SKPoint ToSKPoint(this Microsoft.Maui.Graphics.PointF target);
static member ToSKPoint : Microsoft.Maui.Graphics.PointF -> SkiaSharp.SKPoint
<Extension()>
Public Function ToSKPoint (target As PointF) As SKPoint

Parameters

target
PointF

The PointF to convert.

Returns

A SkiaSharp SKPoint that corresponds to the specified PointF.

Applies to