CohenSutherlandClipLine Method
Clipping a line by the rectangle.
Namespace: BeeMobile.LineChartAssembly: BeeMobile.LineChart.NET48 (in BeeMobile.LineChart.NET48.dll) Version: 4.8.1.10 (4.8.1.10)
public static bool ClipLine(
Rectangle rect,
ref Point a,
ref Point b
)
Public Shared Function ClipLine (
rect As Rectangle,
ByRef a As Point,
ByRef b As Point
) As Boolean
- rect Rectangle
- The rectangle by which the line should be clipped.
- a Point
- The starting point of the line.
- b Point
- The ending point of the line.
BooleanTrue if line was accepted.