<< Click to Display Table of Contents >> NShape Reference
|
Describes a linear shape.
public interface ILinearShape |
Describes a linear shape.
Name |
Description |
---|---|
Indicates if the line has a direction, e.g. a cap on one side. |
|
Specifies the maximum number of vertices allowed for defining the shape. |
|
Specifies the minimum number of vertices needed for defining the linear shape |
|
Specifies the current number of vertices the linear shape consists of. |
Name |
Description |
---|---|
Creates a new connection point at the specified position and returns the ControlPointId of the created connection point. The specified coordinates have to be on the outline of the linear shape. Available in NShape 2.0 |
|
Adds a new vertex to the shape and returns the ControlPointId associated with the new vertex. |
|
Calculates the normal vector for the given point. |
|
Returns the ControlPointId of the vertex next to the vertex associated with the given ControlPointId (Direction: From ControlPointId.FirstVertex to ControlPointId.LastVertex) |
|
Returns the ControlPointId of the vertex next to the vertex associated with the given ControlPointId (Direction: From ControlPointId.LastVertex to ControlPointId.FirstVertex) |
|
Inserts a new vertex before the vertex associated with the given ControlPointId into the linear shape. The new Point may be outside the shape, thus changing the outline of the shape. |
|
Removes the specified (dynamic) connection point from the linear shape. If shapes are connected to the connection point, these shapes will be disconnected. Available in NShape 2.0 |
|
Removes the vertex associated with the given ControlPointId from the linear shape. In most cases, this will change the outline of the shape. |
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape