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

Method String

util.go:369–371  ·  view source on GitHub ↗

String returns the string representation of a point, such as "(x,y)".

()

Source from the content-addressed store, hash-verified

367
368// String returns the string representation of a point, such as "(x,y)".
369func (p Point) String() string {
370 return fmt.Sprintf("(%v,%v)", p.X, p.Y)
371}
372
373////////////////////////////////////////////////////////////////
374

Callers 1

TestPointFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestPointFunction · 0.76