NShape Reference
ToolCache.GetCapPoints Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > ToolCache Class >

NShape Reference
ToolCache.GetCapPoints Method

Previous pageReturn to chapter overviewNext page

Constructs a polygon from the given cap style used for drawing the line cap's interior.

Syntax

public static void GetCapPoints(ICapStyle capStyle, ILineStyle lineStyle, ref PointF[] capPoints)

Description

Constructs a polygon from the given cap style used for drawing the line cap's interior.

Parameters

Name

Description

capStyle

Specifies the shape of the polygon.

lineStyle

Specifies the positioning of the polygon.

capPoints

A point array containong the polygon's vertices. If null, a new array will be created.

Exceptions

Exception

Condition

ArgumentNullException

Any of the given styles is null.