| Cv2ClipLine Method (Rect, Point, Point) |
Clips the line against the image rectangle
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static bool ClipLine(
Rect imgRect,
ref Point pt1,
ref Point pt2
)
Public Shared Function ClipLine (
imgRect As Rect,
ByRef pt1 As Point,
ByRef pt2 As Point
) As Boolean
public:
static bool ClipLine(
Rect imgRect,
Point% pt1,
Point% pt2
)
static member ClipLine :
imgRect : Rect *
pt1 : Point byref *
pt2 : Point byref -> bool
Parameters
- imgRect
- Type: OpenCvSharpRect
sThe image rectangle - pt1
- Type: OpenCvSharpPoint
The first line point - pt2
- Type: OpenCvSharpPoint
The second line point
Return Value
Type:
Boolean[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ClipLine(OpenCvSharp.Rect,OpenCvSharp.Point@,OpenCvSharp.Point@)"]
See Also