Versions in this module Expand all Collapse all v1 v1.1.2 Nov 21, 2019 v1.1.1 Nov 10, 2019 v1.1.0 Nov 10, 2019 v1.0.0 Oct 1, 2019 Changes in this version + type Point struct + X float64 + Y float64 + func (p Point) String() string + type Rectangle struct + LL Point + UR Point + func NewRectangle(llx, lly, urx, ury float64) *Rectangle + func (r Rectangle) AspectRatio() float64 + func (r Rectangle) Center() Point + func (r Rectangle) Contains(p Point) bool + func (r Rectangle) Height() float64 + func (r Rectangle) Landscape() bool + func (r Rectangle) Portrait() bool + func (r Rectangle) String() string + func (r Rectangle) Width() float64