|
Enrollment 28.2.0
|
It holds rectangles and draws it as one shape. More...
#include <ImageShape.h>
Public Member Functions | |
| void | DrawIn (ImageShapeDrawer &drawer) const final |
| It draws all rectangles at once in ImageShapeDrawer. | |
| RectanglesShape (std::vector< Rectangle > r, ImageShapeAttributes attr) | |
| Construct a new Rectangles object. | |
It holds rectangles and draws it as one shape.
|
inline |
Construct a new Rectangles object.
| r | rectangles |
| attr | ImageShapeAttributes use to draw rectangles |
|
inlinefinalvirtual |
It draws all rectangles at once in ImageShapeDrawer.
| drawer | the implementation of ImageShapeDrawer |
Implements ImageShape.