Abstract
Common ancestor for borders that have a line and a fill style.
Style of the border's perimeter line.
Style of the border's interior area.
Calculates the border's bounding box for an origin-centered rectangle of the given size.
Returns a point on the border in the given direction.
The angle can be converted to a direction vector by taking cos(angle) and sin(angle) to be its x and y respectively.
cos(angle)
sin(angle)
x
y
Draws the border within the previously calculated bounding box.
Common ancestor for borders that have a line and a fill style.