diff --git a/text/text.go b/text/text.go index 5ef5b6a..739ca32 100644 --- a/text/text.go +++ b/text/text.go @@ -77,6 +77,10 @@ func New(face font.Face, runeSets ...[]rune) *Text { return txt } +func (txt *Text) Atlas() *Atlas { + return txt.atlas +} + func (txt *Text) SetMatrix(m pixel.Matrix) { txt.trans.SetMatrix(m) }