FontExtents returns the extents of this Style's font.
()
| 95 | |
| 96 | // FontExtents returns the extents of this Style's font. |
| 97 | func (s Style) FontExtents() font.Extents { |
| 98 | return s.Handler.Extents(s.Font) |
| 99 | } |
| 100 | |
| 101 | // Width returns the width of lines of text |
| 102 | // when using the given font before any text rotation is applied. |