I

IPathGeometry

Interface that is used mainly by IEdgeStyleRenderer implementations to reveal geometric details about the visualization of an edge's path.
Inheritance Hierarchy

Members

No filters for this type

Methods

Returns a representation of the visible path of the edge in the form of a GeneralPath
Returns the number of "segments" this edge's path consists of.
Calculates the tangent on the edge's path at the given ratio point.
Implementers are not required to return a tangent with normalized vector, and therefore callers should not expect to receive a tangent with normalized vector.
abstract

Parameters

ratio: number
a value in [0,1] where 0 is the source's end and 1 is at the target's end of the visible edge path

Return Value

Tangent
The tangential line, if any exists.
Calculates the tangent on the edge's path at the given ratio point for the given segment.
Implementers are not required to return a tangent with normalized vector, and therefore callers should not expect to receive a tangent with normalized vector.
abstract

Parameters

segmentIndex: number
The segment to use for the calculation
ratio: number
A value in [0,1] where 0 is the source's end and 1 is at the target's end of the segment

Return Value

Tangent
The tangential line, if any exists.

See Also

API
getTangent, getSegmentCount

Constants

A void implementation of the IPathGeometry interface that does nothing and behaves like an empty path.

Static Methods

static

Parameters

Return Value

IPathGeometry