DrawingBaseIsLineIntersectsRect Method |
Checks if a line intersects with a Rect
Namespace: ArthaChitra.Model.ChartAssembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.4.0
Syntaxprotected 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
BooleanTrue if line intersects with the rectangle, else false
See Also