NShape Reference
CapShape Enumeration

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
CapShape Enumeration

Previous pageReturn to chapter overviewNext page

Specifies the shape of a line cap.

Syntax

public enum CapShape { 
 None, 
 ArrowClosed, 
 ArrowOpen, 
 Circle, 
 Triangle, 
 Diamond, 
 Square, 
 CenteredCircle, 
 CenteredHalfCircle,
 Round,
 Flat,
 Peak
}

Description

Specifies the shape of a line cap.

Values

Name

Value

None

The line has no specific cap. The appearance of the line's ending depends on the ILineStyle.LineJoin property.

ArrowClosed

A triangle pointing to the line's ending.

ArrowOpen

A triangle without base line pointing at the line's ending.

Circle

A circle shaped cap. The circle is inset by its radius.

Triangle

A triangle shapes cap. The triangle's base line is centered on the line's ending.

Diamond

A diamond shapes cap.

Square

A square shapes cap.

CenteredCircle

A circle shapes cap. The circle's center is on the line's ending.

CenteredHalfCircle

An open half circle. The half circle's center is on the line's ending.

Round

A rounded line cap.

Available in NShape 2.0

Flat

A flattened line cap.

Available in NShape 2.0

Peak

A peaked line cap.

Available in NShape 2.0

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape