Rectangle.ContainsLine
Rectangle.ContainsLine method
Determines whether the rectangle contains a line represented by two points.
public bool ContainsLine(double x1, double y1, double x2, double y2)
Parameter | Type | Description |
---|---|---|
x1 | Double | The X coordinate of the start point of the line. |
y1 | Double | The Y coordinate of the start point of the line. |
x2 | Double | The X coordinate of the end point of the line. |
y2 | Double | The Y coordinate of the end point of the line. |
Return Value
true
if the rectangle contains the line; otherwise, false
.
See Also
- class Rectangle
- namespace Aspose.Pdf
- assembly Aspose.PDF