SKGraphicsExtensions.AsRotatedAndroidPath 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 PathF to a SkiaSharp SKPath with a specified pixels-per-unit value, zoom level, and rotation angle.
public:
[System::Runtime::CompilerServices::Extension]
static SkiaSharp::SKPath ^ AsRotatedAndroidPath(Microsoft::Maui::Graphics::PathF ^ target, Microsoft::Maui::Graphics::PointF center, float ppu, float zoom, float angle);
public static SkiaSharp.SKPath AsRotatedAndroidPath(this Microsoft.Maui.Graphics.PathF target, Microsoft.Maui.Graphics.PointF center, float ppu, float zoom, float angle);
static member AsRotatedAndroidPath : Microsoft.Maui.Graphics.PathF * Microsoft.Maui.Graphics.PointF * single * single * single -> SkiaSharp.SKPath
<Extension()>
Public Function AsRotatedAndroidPath (target As PathF, center As PointF, ppu As Single, zoom As Single, angle As Single) As SKPath
Parameters
- target
- PathF
The PathF to convert.
- center
- PointF
The center point around which to rotate the path.
- ppu
- Single
The pixels-per-unit value.
- zoom
- Single
The zoom level.
- angle
- Single
The rotation angle in degrees.
Returns
A SkiaSharp SKPath that corresponds to the specified PathF, scaled by the specified pixels-per-unit value and zoom level, and rotated around the specified center point.