SVGFEDropShadowElement.h [plain text]
#pragma once
#include "FEDropShadow.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEDropShadowElement final : public SVGFilterPrimitiveStandardAttributes {
public:
static Ref<SVGFEDropShadowElement> create(const QualifiedName&, Document&);
void setStdDeviation(float stdDeviationX, float stdDeviationY);
private:
SVGFEDropShadowElement(const QualifiedName&, Document&);
void parseAttribute(const QualifiedName&, const AtomicString&) override;
void svgAttributeChanged(const QualifiedName&) override;
RefPtr<FilterEffect> build(SVGFilterBuilder*, Filter&) override;
static const AtomicString& stdDeviationXIdentifier();
static const AtomicString& stdDeviationYIdentifier();
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEDropShadowElement)
DECLARE_ANIMATED_STRING(In1, in1)
DECLARE_ANIMATED_NUMBER(Dx, dx)
DECLARE_ANIMATED_NUMBER(Dy, dy)
DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX)
DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY)
END_DECLARE_ANIMATED_PROPERTIES
};
}