'Declaration
Public Function IntersectWithRadianLine( _ ByVal pt As NPointF, _ ByRef intersectionPoint As NPointF, _ ByRef sideIndex As System.Integer _ ) As System.Boolean
'Usage
Dim instance As NRectangleF Dim pt As NPointF Dim intersectionPoint As NPointF Dim sideIndex As System.Integer Dim value As System.Boolean value = instance.IntersectWithRadianLine(pt, intersectionPoint, sideIndex)
public System.bool IntersectWithRadianLine( NPointF pt, out NPointF intersectionPoint, out System.int sideIndex )
Parameters
- pt
- point which forms a line with the rectangle center
- intersectionPoint
- resulting intersection point (if the method returned true)
- sideIndex
- resulting index of the crossed side (if the method returned true (enumeration is left, top, right, bottom)
Return Value
true if the intersection was successful, otherwise false