PathF.GetRotatedPoint(Int32, PointF, Single) 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.
Computes the position of a point in the path after rotation about a pivot.
public:
Microsoft::Maui::Graphics::PointF GetRotatedPoint(int pointIndex, Microsoft::Maui::Graphics::PointF pivotPoint, float angle);
public Microsoft.Maui.Graphics.PointF GetRotatedPoint(int pointIndex, Microsoft.Maui.Graphics.PointF pivotPoint, float angle);
member this.GetRotatedPoint : int * Microsoft.Maui.Graphics.PointF * single -> Microsoft.Maui.Graphics.PointF
Public Function GetRotatedPoint (pointIndex As Integer, pivotPoint As PointF, angle As Single) As PointF
Parameters
- pointIndex
- Int32
Index into the internal point list.
- pivotPoint
- PointF
The pivot point for rotation.
- angle
- Single
Rotation angle in degrees (counter-clockwise positive).
Returns
The rotated point.
Remarks
This helper applies the same rotation semantics used by Rotate(Single, PointF) and does not cache results.