| ShapeDrawingManagerDrawCapsule(Point, Point, Point, Point, Int32, Int32, Int32, Color, Single, Boolean) Method |
Draw Capsule (Only Z+)
Namespace: VIZCore3D.NET.ManagerAssembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax public int DrawCapsule(
Point p11,
Point p12,
Point p21,
Point p22,
int height,
int sideCount,
int groupId,
Color color,
float thickness,
bool visible
)
Parameters
- p11 Point
- Point 1-1
- p12 Point
- Point 1-2
- p21 Point
- Point 2-1
- p22 Point
- Point 2-2
- height Int32
- Height
- sideCount Int32
- Side Count : 6 ~ 36
- groupId Int32
- Group Id
- color Color
- 라인 색상
- thickness Single
- 라인 두께
- visible Boolean
- 보이기/숨기기 상태
Return Value
Int32등록된 개체 ID
Example
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Point p11 = new System.Drawing.Point(89479, -135720);
System.Drawing.Point p12 = new System.Drawing.Point(595973, -135720);
System.Drawing.Point p21 = new System.Drawing.Point(89479, -286193);
System.Drawing.Point p22 = new System.Drawing.Point(595973, -286193);
int shapeId = vizcore3d.ShapeDrawing.DrawCapsule(
p11
, p12
, p21
, p22
, 91127
, 12
, 1
, Color.Purple
, 5
, true
);
}
See Also