FontResource is a wrapper for `*truetype.Font` which is being passed by the the `engo.Files.Resource` method in the case of `.ttf` files.
| 13 | // FontResource is a wrapper for `*truetype.Font` which is being passed by the the `engo.Files.Resource` method in the |
| 14 | // case of `.ttf` files. |
| 15 | type FontResource struct { |
| 16 | Font *truetype.Font |
| 17 | url string |
| 18 | } |
| 19 | |
| 20 | // URL returns the file path for the FontResource. |
| 21 | func (f FontResource) URL() string { |
nothing calls this directly
no outgoing calls
no test coverage detected