blob: 0a2b2f742a9958beee2844fa831f3c6d3925ed5f [file] [log] [blame]
#ifndef _RIVE_STROKE_HPP_
#define _RIVE_STROKE_HPP_
#include "rive/generated/shapes/paint/stroke_base.hpp"
#include "rive/shapes/path_flags.hpp"
namespace rive
{
class StrokeEffect;
class Stroke : public StrokeBase
{
private:
public:
RenderPaint* initRenderPaint(ShapePaintMutator* mutator) override;
PathFlags pathFlags() const override;
bool isVisible() const override;
void applyTo(RenderPaint* renderPaint, float opacityModifier) override;
ShapePaintPath* pickPath(ShapePaintContainer* shape) const override;
void buildDependencies() override;
void invalidateRendering() override;
ShapePaintType paintType() const override { return ShapePaintType::stroke; }
protected:
void thicknessChanged() override;
void capChanged() override;
void joinChanged() override;
};
} // namespace rive
#endif