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)
ParameterTypeDescription
x1doubleThe X coordinate of the start point of the line.
y1doubleThe Y coordinate of the start point of the line.
x2doubleThe X coordinate of the end point of the line.
y2doubleThe Y coordinate of the end point of the line.

ReturnValue

true if the rectangle contains the line; otherwise, false.

See Also