#pragma once
#include "SVGAnimatedBoolean.h"
#include "SVGAnimatedLength.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGGraphicsElement.h"
namespace WebCore {
class SVGLineElement final : public SVGGraphicsElement,
public SVGExternalResourcesRequired {
public:
static Ref<SVGLineElement> create(const QualifiedName&, Document&);
private:
SVGLineElement(const QualifiedName&, Document&);
bool isValid() const final { return SVGTests::isValid(); }
static bool isSupportedAttribute(const QualifiedName&);
void parseAttribute(const QualifiedName&, const AtomicString&) final;
void svgAttributeChanged(const QualifiedName&) final;
bool supportsMarkers() const final { return true; }
bool selfHasRelativeLengths() const final;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGLineElement)
DECLARE_ANIMATED_LENGTH(X1, x1)
DECLARE_ANIMATED_LENGTH(Y1, y1)
DECLARE_ANIMATED_LENGTH(X2, x2)
DECLARE_ANIMATED_LENGTH(Y2, y2)
DECLARE_ANIMATED_BOOLEAN_OVERRIDE(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
}