PCL
|
Base class of PCL gradient brushes. More...
#include <Brush.h>
Classes | |
struct | Stop |
Gradient stop. More... | |
Public Types | |
using | spread_mode = GradientSpreadMode::value_type |
using | stop_list = Array< Stop > |
Public Types inherited from pcl::Brush | |
using | style = BrushStyle::value_type |
Public Member Functions | |
bool | IsGradient () const override |
spread_mode | SpreadMode () const |
stop_list | Stops () const |
Public Member Functions inherited from pcl::Brush | |
Brush (Brush &&x) | |
Brush (const Bitmap &bmp) | |
Brush (const Brush &b) | |
Brush (RGBA color=0xff000000, style=BrushStyle::Solid) | |
~Brush () override | |
RGBA | Color () const |
bool | IsEmpty () const |
bool | IsSolid () const |
bool | IsStippled () const |
bool | IsTransparent () const |
Brush & | operator= (Brush &&x) |
Brush & | operator= (const Brush &b) |
void | SetColor (RGBA) |
void | SetStipple (const Bitmap &) |
void | SetStyle (style) |
Bitmap | Stipple () const |
style | Style () const |
Public Member Functions inherited from pcl::UIObject | |
virtual | ~UIObject () noexcept(false) |
virtual void | EnsureUnique () |
bool | IsAlias () const |
bool | IsGarbage () const |
bool | IsNull () const |
bool | IsSameObject (const UIObject &o) const |
bool | IsUnique () const |
String | ObjectId () const |
IsoString | ObjectType () const |
bool | operator< (const UIObject &o) const |
bool | operator== (const UIObject &o) const |
size_type | RefCount () const |
void | SetObjectId (const String &id) |
Additional Inherited Members | |
Static Public Member Functions inherited from pcl::Brush | |
static Brush & | Null () |
Static Public Member Functions inherited from pcl::UIObject | |
static UIObject & | Null () |
Protected Member Functions inherited from pcl::UIObject | |
UIObject ()=default | |
UIObject (const UIObject &x) | |
UIObject (UIObject &&x) | |
UIObject & | operator= (const UIObject &x) |
UIObject & | operator= (UIObject &&x) |
using pcl::GradientBrush::spread_mode = GradientSpreadMode::value_type |
Represents a gradient spread mode. Supported values are defined in the GradientSpreadMode namespace.
using pcl::GradientBrush::stop_list = Array<Stop> |
|
inlineoverridevirtual |
Returns true iff this object is a gradient brush.
Reimplemented from pcl::Brush.
spread_mode pcl::GradientBrush::SpreadMode | ( | ) | const |
Returns the current gradient spread mode for this gradient brush.
stop_list pcl::GradientBrush::Stops | ( | ) | const |
Returns the list of stops in this gradient brush.