blob: b3ba9378034e917f9df49a417b87a8c2e380d9c0 [file] [log] [blame] [edit]
#ifndef _RIVE_DASH_HPP_
#define _RIVE_DASH_HPP_
#include "rive/generated/shapes/paint/dash_base.hpp"
#include <stdio.h>
namespace rive
{
class Dash : public DashBase
{
public:
Dash();
Dash(float value, bool percentage);
float normalizedLength(float length, bool wraps) const;
StatusCode onAddedClean(CoreContext* context) override;
void lengthChanged() override;
void lengthIsPercentageChanged() override;
};
} // namespace rive
#endif