This PR allows for really flexible layouts, allowing you to display whatever text or pictures you want in your image and laying them out relative to each other in more complex ways.
Added
New PictureBox feature: You can now load other pictures into your designs 🖼️
A new TwoUp layout, with a picture to the left and the text content to the right
Layouts have been refactored, to move away from a fixed set of features defined in the base Layout class, to a fully dynamic set, defined in the child Layout class.
This means you can now define as many features as you like within your Layout class and aren't limited to what this library supports by default
More reliance on interfaces, moving many references to the Box class to a new Box interface
Some theme colours have been improved
Fixed
Box rendering logic has been massively improved. You can now make points other than just the top-left (the default $anchor) of a box relative to the $anchor of any other feature.
This PR allows for really flexible layouts, allowing you to display whatever text or pictures you want in your image and laying them out relative to each other in more complex ways.
Added
PictureBox
feature: You can now load other pictures into your designs 🖼️Changed
Layout
class, to a fully dynamic set, defined in the childLayout
class. This means you can now define as many features as you like within yourLayout
class and aren't limited to what this library supports by defaultBox
class to a newBox
interfaceFixed
$anchor
) of a box relative to the$anchor
of any other feature.