Graphics::TextObject::ColorElement Class Reference

#include <Object.h>

Inheritance diagram for Graphics::TextObject::ColorElement:
Collaboration diagram for Graphics::TextObject::ColorElement:

Public Member Functions

 ColorElement (const Brush &fore, const Brush &back)
 
void write (MetaWriter &meta) const override
 
- Public Member Functions inherited from Graphics::TextObject::Element
 Element (Kind kind)
 
String getTypeStr () const
 
- Public Member Functions inherited from LinkedObjectTemplate< Element >
Element * getNext () const
 
bool insertAfter (Element *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Public Attributes

Brush fore {Color::WHITE}
 
Brush back {Color::BLACK}
 
- Public Attributes inherited from Graphics::TextObject::Element
Kind kind
 

Additional Inherited Members

- Public Types inherited from Graphics::TextObject::Element
enum  Kind : uint8_t { Kind::XX }
 
using OwnedList = OwnedLinkedObjectListTemplate< Element >
 
- Public Types inherited from LinkedObjectTemplate< Element >
using Iterator = IteratorTemplate< Element, Element *, Element & >
 
using ConstIterator = IteratorTemplate< const Element, const Element *, const Element & >
 

Constructor & Destructor Documentation

◆ ColorElement()

Graphics::TextObject::ColorElement::ColorElement ( const Brush fore,
const Brush back 
)
inline

Member Function Documentation

◆ write()

void Graphics::TextObject::ColorElement::write ( MetaWriter meta) const
inlineoverridevirtual

Member Data Documentation

◆ back

Brush Graphics::TextObject::ColorElement::back {Color::BLACK}

◆ fore

Brush Graphics::TextObject::ColorElement::fore {Color::WHITE}

The documentation for this class was generated from the following file: