Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Shaper ¶
type Shaper struct {
// contains filtered or unexported fields
}
func NewShaper ¶
func NewShaper(options ...ShaperOption) *Shaper
func (*Shaper) LayoutString ¶
func (l *Shaper) LayoutString(params Parameters, str string)
type ShaperOption ¶
type ShaperOption func(*Shaper)
func NoSystemFonts ¶
func NoSystemFonts() ShaperOption
func WithCollection ¶
func WithCollection(collection []FontFace) ShaperOption
type WrapPolicy ¶
type WrapPolicy uint8
const ( WrapHeuristically WrapPolicy = iota WrapWords WrapGraphemes )
Click to show internal directories.
Click to hide internal directories.