ES-DE/source/styledelement.h
Leon Styhre fd498ff35e Squashed 'external/lunasvg/' changes from e0f786c9b..ead790126
ead790126 fix name conflict with rlottie #100
6192f2536 Fix fill default color #105
be5ec7a4f Release v2.3.4
29c32978d Fix std::clamp bug #105
41f21ccb1 Release v2.3.3

git-subtree-dir: external/lunasvg
git-subtree-split: ead790126004b86a2dbbe9f4aaf27e82e419721e
2022-10-16 12:31:43 +02:00

54 lines
1.1 KiB
C++

#ifndef STYLEDELEMENT_H
#define STYLEDELEMENT_H
#include "element.h"
namespace lunasvg {
class StyledElement : public Element
{
public:
StyledElement(ElementID id);
Paint fill() const;
Paint stroke() const;
Color color() const;
Color stop_color() const;
Color solid_color() const;
double opacity() const;
double fill_opacity() const;
double stroke_opacity() const;
double stop_opacity() const;
double solid_opacity() const;
double stroke_miterlimit() const;
Length stroke_width() const;
Length stroke_dashoffset() const;
LengthList stroke_dasharray() const;
WindRule fill_rule() const;
WindRule clip_rule() const;
LineCap stroke_linecap() const;
LineJoin stroke_linejoin() const;
Display display() const;
Visibility visibility() const;
Overflow overflow() const;
std::string clip_path() const;
std::string mask() const;
std::string marker_start() const;
std::string marker_mid() const;
std::string marker_end() const;
bool isDisplayNone() const;
bool isOverflowHidden() const;
};
} // namespace lunasvg
#endif // STYLEDELEMENT_H