Method ToString
ToString()
Returns a string representation of the quadrilateral and its axis-aligned bounding box (AABB).
public override string ToString()
Returns
- string
A string containing the four corners in order (TL, TR, BR, BL) and the AABB with Left, Top, Width, and Height.
Examples
For example: TL(0,0) TR(10,0) BR(10,5) BL(0,5) | AABB(L:0,T:0,W:10,H:5)
.
Remarks
Format:
TL{TopLeft} TR{TopRight} BR{BottomRight} BL{BottomLeft} | AABB(L:{Left:0.###},T:{Top:0.###},W:{Width:0.###},H:{Height:0.###})
TL → TR → BR → BL
. Numeric values use up to three fractional digits.
The output uses the current culture’s number formatting unless otherwise specified.
- See Also