Aspose::Pdf::Rectangle::ContainsLine method
Rectangle::ContainsLine method
Determines whether the rectangle contains a line represented by two points.
bool Aspose::Pdf::Rectangle::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. |
ReturnValue
true if the rectangle contains the line; otherwise, false.
See Also
- Class Rectangle
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++