Click or drag to resize

DrawingBaseIsLineIntersectsRect Method

Checks if a line intersects with a Rect

Namespace: ArthaChitra.Model.Chart
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.4.0
Syntax
C#
protected bool IsLineIntersectsRect(
	Point p1,
	Point p2,
	Rect rect
)

Parameters

p1  Point
Start point of line
p2  Point
End point of line
rect  Rect
Rectangle

Return Value

Boolean
True if line intersects with the rectangle, else false
See Also