Graphics::GradientBrush Class Reference
#include <Asset.h>
Inheritance diagram for Graphics::GradientBrush:
Collaboration diagram for Graphics::GradientBrush:
Public Member Functions | |
GradientBrush (BrushStyle style, Color color1, Color color2) | |
GradientBrush (AssetID id, BrushStyle style, Color color1, Color color2) | |
void | write (MetaWriter &meta) const override |
size_t | readPixels (const Location &loc, PixelFormat format, void *buffer, uint16_t pixelCount) const |
String | getTypeStr () const override |
![]() | |
TextureBrush (BrushStyle style) | |
TextureBrush (AssetID id, BrushStyle style) | |
virtual PixelFormat | getPixelFormat () const |
![]() | |
virtual Type | type () const override |
Asset () | |
Asset (ID id) | |
![]() | |
Asset () | |
Asset (ID id) | |
bool | operator== (ID id) const |
ID | id () const |
virtual Type | type () const =0 |
![]() | |
Asset * | getNext () const |
bool | insertAfter (Asset *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 |
Additional Inherited Members | |
![]() | |
enum | Type { Type::XX } |
using | List = LinkedObjectListTemplate< Asset > |
using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
using | ID = AssetID |
![]() | |
using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
![]() | |
static constexpr Asset::Type | assetType |
![]() | |
BrushStyle | style |
Constructor & Destructor Documentation
◆ GradientBrush() [1/2]
|
inline |
◆ GradientBrush() [2/2]
|
inline |
Member Function Documentation
◆ getTypeStr()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
◆ readPixels()
|
virtual |
Implements Graphics::TextureBrush.
◆ write()
|
inlineoverridevirtual |
Reimplemented from Graphics::TextureBrush.
The documentation for this class was generated from the following file: