/
SVGLineElement.cljs
69 lines (52 loc) · 1.37 KB
/
SVGLineElement.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(ns web.svg.SVGLineElement
"The SVGLineElement interface provides access to the properties
`<line>` elements, as well as methods to manipulate them."
(:refer-clojure :exclude []))
(defn x1
"Property.
Returns an SVGAnimatedLength that corresponds to attribute x1
the given <line> element."
[this]
(-> this (.-x1)))
(defn set-x1!
"Property.
Returns an SVGAnimatedLength that corresponds to attribute x1
the given <line> element."
[this val]
(aset this "x1" val))
(defn y1
"Property.
Returns an SVGAnimatedLength that corresponds to attribute y1
the given <line> element."
[this]
(-> this (.-y1)))
(defn set-y1!
"Property.
Returns an SVGAnimatedLength that corresponds to attribute y1
the given <line> element."
[this val]
(aset this "y1" val))
(defn x2
"Property.
Returns an SVGAnimatedLength that corresponds to attribute x2
the given <line> element."
[this]
(-> this (.-x2)))
(defn set-x2!
"Property.
Returns an SVGAnimatedLength that corresponds to attribute x2
the given <line> element."
[this val]
(aset this "x2" val))
(defn y2
"Property.
Returns an SVGAnimatedLength that corresponds to attribute y2
the given <line> element."
[this]
(-> this (.-y2)))
(defn set-y2!
"Property.
Returns an SVGAnimatedLength that corresponds to attribute y2
the given <line> element."
[this val]
(aset this "y2" val))