Click or drag to resize
CanvasGeometryCreateCircle Method (ICanvasResourceCreator, Single, Single, Single)
Creates a new circle geometry object with the specified extents.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static CanvasGeometry CreateCircle(
	ICanvasResourceCreator resourceCreator,
	float x,
	float y,
	float radius
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
x
Type: SystemSingle
y
Type: SystemSingle
radius
Type: SystemSingle

Return Value

Type: CanvasGeometry
Remarks
The resource creator parameter can be null if the geometry will never be drawn onto a CanvasDevice.
See Also