CanvasGeometryCreatePolygon Method |
Namespace: Microsoft.Graphics.Canvas.Geometry
public static CanvasGeometry CreatePolygon( ICanvasResourceCreator resourceCreator, Vector2[] points )
The polygon will automatically be closed by connecting the last point back to the first one.
Passing an empty set of points will produce an empty polygon.
The resource creator parameter can be null if the geometry will never be drawn onto a CanvasDevice.