String returns a string representation of r such as "(xmin,ymin)-(xmax,ymax)".
()
| 609 | |
| 610 | // String returns a string representation of r such as "(xmin,ymin)-(xmax,ymax)". |
| 611 | func (r Rect) String() string { |
| 612 | return fmt.Sprintf("(%g,%g)-(%g,%g)", r.X0, r.Y0, r.X1, r.Y1) |
| 613 | } |
| 614 | |
| 615 | //////////////////////////////////////////////////////////////// |
| 616 |