Create a style by copying params of others.
Remove padding from the vector representing size of a box.
Remove padding from the given rect.
Draw the background
Draw text using the same params as measureText.
Get a side array holding both the regular margin and the border.
Get the current font
Measure space given text will use.
Get a sum of margin, border size and padding.
Update the style with given D code.
Split the text into multiple lines in order to fit within given width.
Crop the given box by reducing its size on all sides.
Get the default, empty style.
Contains the style for a node.