Button plugin

Use with a button template and it will stretch the button to fit your text accordingly

Example usage

Example 1

button.png example
button.png

Example 2

button.png?p=Button{Text{My button!}} example
button.png?p=Button{Text{My button!}}

Example 3

button.png?p=Button{Text{Another really long button}Brush{Color{FFFFFF}}} example
button.png?p=Button{Text{Another really long button}Brush{Color{FFFFFF}}}

Example 4

button.png?p=Button{Text{Btn}Brush{Color{Blue}}} example
button.png?p=Button{Text{Btn}Brush{Color{Blue}}}

No constructors

Available properties

Stretch - Number
Pad - Number
PadLeft - Number
PadRight - Number
Text - Text
Text to write
Position - DrawPluginPosition
The type of positioning to use
X - Number
The X-coordinate to begin drawing, if relevant
Y - Number
The Y-coordinate to begin drawing, if relevant
Brush - ImgBagBrush
The settings to use for the brush, if relevant
Font - ImgBagFont
The settings to use for the font, if relevant