A Subclass of Font
As a subclass of Font, the DrawableString class inherits:
- variables: name, style, size
- methods: getName(), getStyle(), getSize()
For convenience, DrawableString provides:
- methods: setFontName(…), setFontStyle(…), setFontSize(…)
- (Why doesn’t the Font class provide these?)