Graphics::FilledRectObject Class Reference
A filled rectangle. More...
#include <Object.h>
Inheritance diagram for Graphics::FilledRectObject:
Collaboration diagram for Graphics::FilledRectObject:
Public Member Functions | |
FilledRectObject (Brush brush, const Rect &rect, uint8_t radius=0) | |
FilledRectObject (int x0, int y0, int w, int h, Color color) | |
void | write (MetaWriter &meta) const override |
Renderer * | createRenderer (const Location &location) const override |
Create a software renderer for this object. More... | |
![]() | |
Kind | kind () const override |
![]() | |
bool | operator== (const Object &other) const |
virtual String | getTypeStr () const |
![]() | |
Object * | getNext () const |
bool | insertAfter (Object *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Public Attributes | |
const Blend * | blender {nullptr} |
Brush | brush |
Rect | rect |
uint8_t | radius {0} |
Additional Inherited Members | |
![]() | |
enum class | Kind { XX } |
using | List = LinkedObjectListTemplate< Object > |
using | OwnedList = OwnedLinkedObjectListTemplate< Object > |
![]() | |
using | Iterator = IteratorTemplate< Object, Object *, Object & > |
using | ConstIterator = IteratorTemplate< const Object, const Object *, const Object & > |
Detailed Description
A filled rectangle.
Constructor & Destructor Documentation
◆ FilledRectObject() [1/2]
|
inline |
◆ FilledRectObject() [2/2]
|
inline |
Member Function Documentation
◆ createRenderer()
|
overridevirtual |
Create a software renderer for this object.
- Parameters
-
location
- Return values
-
renderer Returned renderer object
Return nullptr if object cannot/should not be rendered
Implements Graphics::Object.
◆ write()
|
inlineoverridevirtual |
Implements Graphics::Object.
Member Data Documentation
◆ blender
const Blend* Graphics::FilledRectObject::blender {nullptr} |
◆ brush
Brush Graphics::FilledRectObject::brush |
◆ radius
uint8_t Graphics::FilledRectObject::radius {0} |
◆ rect
Rect Graphics::FilledRectObject::rect |
The documentation for this class was generated from the following file: