W returns the width of the rectangle.
()
| 402 | |
| 403 | // W returns the width of the rectangle. |
| 404 | func (r Rect) W() float64 { |
| 405 | return r.X1 - r.X0 |
| 406 | } |
| 407 | |
| 408 | // H returns the height of the rectangle. |
| 409 | func (r Rect) H() float64 { |
no outgoing calls