-
Notifications
You must be signed in to change notification settings - Fork 0
/
SVGFilterElement.cljs
144 lines (109 loc) · 3.15 KB
/
SVGFilterElement.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
(ns web.svg.SVGFilterElement
"The SVGFilterElement interface provides access to the properties
`<filter>` elements, as well as methods to manipulate them."
(:refer-clojure :exclude []))
(defn set-filter-res
"Method.
Sets the values of the filterRes attribute."
[this & args]
(-> this .-setFilterRes (.apply this (clj->js args))))
(defn filter-units
"Property.
An SVGAnimatedEnumeration that corresponds to the filterUnits
of the given <filter> element. Takes one of the constants defined
SVGUnitTypes."
[this]
(-> this (.-filterUnits)))
(defn set-filter-units!
"Property.
An SVGAnimatedEnumeration that corresponds to the filterUnits
of the given <filter> element. Takes one of the constants defined
SVGUnitTypes."
[this val]
(aset this "filterUnits" val))
(defn primitive-units
"Property.
An SVGAnimatedEnumeration that corresponds to the primitiveUnits
of the given <filter> element. Takes one of the constants defined
SVGUnitTypes."
[this]
(-> this (.-primitiveUnits)))
(defn set-primitive-units!
"Property.
An SVGAnimatedEnumeration that corresponds to the primitiveUnits
of the given <filter> element. Takes one of the constants defined
SVGUnitTypes."
[this val]
(aset this "primitiveUnits" val))
(defn x
"Property.
An SVGAnimatedLength that corresponds to the x attribute on the
<filter> element."
[this]
(-> this (.-x)))
(defn set-x!
"Property.
An SVGAnimatedLength that corresponds to the x attribute on the
<filter> element."
[this val]
(aset this "x" val))
(defn y
"Property.
An SVGAnimatedLength that corresponds to the y attribute of the
<filter> element."
[this]
(-> this (.-y)))
(defn set-y!
"Property.
An SVGAnimatedLength that corresponds to the y attribute of the
<filter> element."
[this val]
(aset this "y" val))
(defn width
"Property.
An SVGAnimatedLength that corresponds to the width attribute
the given <filter> element."
[this]
(-> this (.-width)))
(defn set-width!
"Property.
An SVGAnimatedLength that corresponds to the width attribute
the given <filter> element."
[this val]
(aset this "width" val))
(defn height
"Property.
An SVGAnimatedLength that corresponds to the height attribute
the given <filter> element."
[this]
(-> this (.-height)))
(defn set-height!
"Property.
An SVGAnimatedLength that corresponds to the height attribute
the given <filter> element."
[this val]
(aset this "height" val))
(defn filter-res-x
"Property.
An SVGAnimatedInteger that contains the X component of the filterRes
of the given <filter> element."
[this]
(-> this (.-filterResX)))
(defn set-filter-res-x!
"Property.
An SVGAnimatedInteger that contains the X component of the filterRes
of the given <filter> element."
[this val]
(aset this "filterResX" val))
(defn filter-res-y
"Property.
An SVGAnimatedInteger that contains the Y component of the filterRes
of the given <filter> element."
[this]
(-> this (.-filterResY)))
(defn set-filter-res-y!
"Property.
An SVGAnimatedInteger that contains the Y component of the filterRes
of the given <filter> element."
[this val]
(aset this "filterResY" val))