Description of a frame, the remaining area of a quad with another quad cut out. More...
#include <kanzi/core.ui/graphics2d/frame_description.hpp>
Public Member Functions | |
FrameDescription (const QuadDescription &bg, const QuadDescription &fg, unsigned int clippingMask) | |
Constructor. More... | |
const optional< QuadDescription > & | getQuad (size_t idx) const |
Access frame component. More... | |
Description of a frame, the remaining area of a quad with another quad cut out.
|
explicit |
Constructor.
bg | Background quad. |
fg | Foreground quad. |
clippingMask | The clipping mask. See QuadDescription. |
|
inline |
Access frame component.
idx | Index of component. |