Click or drag to resize

ShapeDrawingManagerDrawCircle Method

Draw Circle (Only Z+)

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public int DrawCircle(
	Point center,
	int height,
	int radius,
	int sideCount,
	int groupId,
	Color color,
	float thickness,
	bool visible
)

Parameters

center
Type: System.DrawingPoint
Center Point
height
Type: SystemInt32
Height
radius
Type: SystemInt32
Radius
sideCount
Type: SystemInt32
Side Count : 12 ~ 36
groupId
Type: SystemInt32
Group Id
color
Type: System.DrawingColor
라인 색상
thickness
Type: SystemSingle
라인 두께
visible
Type: SystemBoolean
보이기/숨기기 상태

Return Value

Type: Int32
등록된 개체 ID
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    System.Drawing.Point center = new System.Drawing.Point(562299, -209947);

    int shapeId = vizcore3d.ShapeDrawing.DrawCircle(
        center          /* Center Point */
        , 91127         /* Height */
        , 46685         /* Radius */
        , 36            /* Side Count : 12 ~ 36 */
        , 1             /* Group Id */
        , Color.Purple  /* Line Color */
        , 5             /* Thickness */
        , true          /* Visible */
        );
}
See Also