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

Method String

text.go:1061–1063  ·  view source on GitHub ↗

String returns the content of the text box.

()

Source from the content-addressed store, hash-verified

1059
1060// String returns the content of the text box.
1061func (t *Text) String() string {
1062 return t.Text
1063}
1064
1065// Empty returns true if there are no text lines or text spans.
1066func (t *Text) Empty() bool {

Callers 4

CopyMethod · 0.45
SetFaceMethod · 0.45
SetFaceSpanMethod · 0.45
ToTextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected