MCPcopy Create free account
hub / github.com/tdewolff/canvas / String

Method String

util.go:611–613  ·  view source on GitHub ↗

String returns a string representation of r such as "(xmin,ymin)-(xmax,ymax)".

()

Source from the content-addressed store, hash-verified

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

Callers 1

TestRectFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestRectFunction · 0.76