Graphics::Brush Class Reference
The source of colour for drawing. More...
#include <Asset.h>
Inheritance diagram for Graphics::Brush:
Collaboration diagram for Graphics::Brush:
Public Types | |
enum | Kind : uint8_t { Kind::XX } |
Detailed Description
The source of colour for drawing.
Member Enumeration Documentation
◆ Kind
|
strong |
Constructor & Destructor Documentation
◆ Brush() [1/6]
|
inline |
◆ Brush() [2/6]
|
inline |
◆ Brush() [3/6]
|
inline |
◆ Brush() [4/6]
|
inline |
◆ Brush() [5/6]
|
inline |
◆ Brush() [6/6]
|
inline |
Member Function Documentation
◆ getColor()
|
inline |
◆ getKind()
|
inline |
◆ getObject()
|
inline |
◆ getPackedColor() [1/3]
|
inline |
◆ getPackedColor() [2/3]
PackedColor Graphics::Brush::getPackedColor | ( | PixelFormat | format | ) | const |
◆ getPackedColor() [3/3]
PackedColor Graphics::Brush::getPackedColor | ( | Point | pt | ) | const |
◆ getTypeStr()
String Graphics::Brush::getTypeStr | ( | ) | const |
◆ isSolid()
|
inline |
◆ isTransparent()
|
inline |
◆ operator bool()
|
inlineexplicit |
◆ operator!=() [1/2]
|
inline |
◆ operator!=() [2/2]
|
inline |
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ setColor()
|
inline |
◆ setPixel()
◆ setPixelFormat()
|
inline |
◆ setPixels()
uint16_t Graphics::Brush::setPixels | ( | Surface & | surface, |
const Location & | loc, | ||
uint16_t | pixelCount | ||
) | const |
◆ write()
void Graphics::Brush::write | ( | MetaWriter & | meta | ) | const |
◆ writePixel()
◆ writePixels()
uint16_t Graphics::Brush::writePixels | ( | const Location & | loc, |
void * | buffer, | ||
uint16_t | pixelCount | ||
) | const |
Member Data Documentation
◆ brush
const TextureBrush* Graphics::Brush::brush |
◆ color
Color Graphics::Brush::color |
◆ packedColor
PackedColor Graphics::Brush::packedColor |
The documentation for this class was generated from the following file: