IsCapStrokeEnabled
public bool IsCapStrokeEnabled { get; set; }
단면 캡(Cap) 외곽선 표시 활성화 여부
Remarks
팁
외곽선 모양은 CapStrokeColorMode, CapStrokeColor, CapStrokeThickness를 통해 커스터마이징할 수 있습니다.
Returns
| Type | Description |
|---|---|
| bool |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
public void Example()
{
// 절단면이 있어야 외곽선 결과를 확인할 수 있습니다.
if (vizcore3dx.Section.Sections.Count == 0)
vizcore3dx.Section.Add();
vizcore3dx.Section.IsCapStrokeEnabled = true;
// 외곽선 색상/두께는 단면 스타일에서 지정합니다.
VIZCore3DX.NET.Data.SectionStyle style = vizcore3dx.Section.GetStyle();
style.CapStrokeThickness = 2.0f;
vizcore3dx.Section.SetStyle(style);
}