Click or drag to resize

RegularPolygonGetPath(Double, Double, Double, Int32) Method

Creates a polygon path around a center point.

Namespace: Altaxo.Graph.Gdi.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static GraphicsPath GetPath(
	double x0,
	double y0,
	double radius,
	int vertices
)

Parameters

x0  Double
The x-coordinate of the center point.
y0  Double
The y-coordinate of the center point.
radius  Double
The polygon radius.
vertices  Int32
The number of vertices.

Return Value

GraphicsPath
The polygon path.
See Also