Edit on GitHub

A Drawable is an interface that provides a draw method that takes in a SpriteBatch, position, scale, rotation, and color. The impelementation can draw anything it wants such as texture slices, nine patches, etc. Drawables are used in Control nodes for certain things such as backgrounds, foregrounds, and general themeing.

A Drawable contains properties for setting a minimum size, margins, and a color.