NShape Reference
Shape.IntersectsOutline Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
Shape.IntersectsOutline Method

Previous pageReturn to chapter overviewNext page

Calculates a coordinate on the outline of the shape, where an incoming line hits it.

Syntax

public abstract Point IntersectOutline(int fromX, int fromY)

Description

This function is used with point-to-shape connections to calculate the point, where a line hits a connected shape.

Parameters

Name

Description

fromX, fromY

Point from which to hit the shape.

Return Value

Coordinates of the intersection point.

Exceptions

None