stuff-from-scratch/src/visual_elements/MaterialNode.h
2022-11-16 15:06:08 +00:00

22 lines
437 B
C++

#pragma once
#include "AbstractVisualNode.h"
#include "Color.h"
class MaterialNode : public AbstractVisualNode
{
public:
MaterialNode(const DiscretePoint& location);
const Color& getFillColor() const;
const Color& getStrokeColor() const;
void setFillColor(const Color& color);
void setStrokeColor(const Color& color);
protected:
Color mFillColor;
Color mStrokeColor;
bool mMaterialIsDirty{true};
};