MCPcopy Create free account
hub / github.com/andlabs/ui / AttributedString

Struct AttributedString

drawtext.go:359–361  ·  view source on GitHub ↗

AttributedString represents a string of UTF-8 text that can optionally be embellished with formatting attributes. Package ui provides the list of formatting attributes, which cover common formatting traits like boldface and color as well as advanced typographical features provided by OpenType like s

Source from the content-addressed store, hash-verified

357// is built from the combination of an AttributedString and a set of
358// layout-specific properties.
359type AttributedString struct {
360 s *C.uiAttributedString
361}
362
363// NewAttributedString creates a new AttributedString from
364// initialString. The string will be entirely unattributed.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected