class CCL::Brush

Brush definition.

#include <brush.h>

class Brush: protected CCL::PlainBrush
{
public:
    // enums

    enum BrushType;

    // fields

     color;

    // construction

    Brush (BrushType _type);
    Brush (BrushRef other);

    // methods

    PROPERTY_BY_VALUE (BrushType, type, Type);
};

Inherited Members

public:
    // fields

    int32 type = 0;
    Color color;
    IGradient* gradient = nullptr;