ShapeGeometry.Rotate(PointD, Double, PointD[]) 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.
Summary description for ShapeGeometry.Rotate() Rotate an arry of points through an angle about a center point
public:
static void Rotate(Microsoft::VisualStudio::Modeling::Diagrams::PointD center, double angleRadians, cli::array <Microsoft::VisualStudio::Modeling::Diagrams::PointD> ^ points);
public static void Rotate (Microsoft.VisualStudio.Modeling.Diagrams.PointD center, double angleRadians, Microsoft.VisualStudio.Modeling.Diagrams.PointD[] points);
static member Rotate : Microsoft.VisualStudio.Modeling.Diagrams.PointD * double * Microsoft.VisualStudio.Modeling.Diagrams.PointD[] -> unit
Public Shared Sub Rotate (center As PointD, angleRadians As Double, points As PointD())
Parameters
- center
- PointD
Defines the center point to rotate about
- angleRadians
- Double
Angle (in radians) to rotate
- points
- PointD[]
Points to rotate