1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.htmlunit.javascript.host.svg;
16
17 import org.htmlunit.javascript.HtmlUnitScriptable;
18 import org.htmlunit.javascript.configuration.JsxClass;
19 import org.htmlunit.javascript.configuration.JsxConstructor;
20 import org.htmlunit.javascript.configuration.JsxGetter;
21 import org.htmlunit.javascript.configuration.JsxSetter;
22
23
24
25
26
27
28
29 @JsxClass
30 public class SVGRect extends HtmlUnitScriptable {
31
32 private double xValue_;
33 private double yValue_;
34 private double width_;
35 private double height_;
36
37
38
39
40 @JsxConstructor
41 public void jsConstructor() {
42
43 }
44
45
46
47
48
49 @JsxGetter
50 public double getX() {
51 return xValue_;
52 }
53
54
55
56
57
58 @JsxSetter
59 public void setX(final double x) {
60 xValue_ = x;
61 }
62
63
64
65
66
67 @JsxGetter
68 public double getY() {
69 return yValue_;
70 }
71
72
73
74
75
76 @JsxSetter
77 public void setY(final double y) {
78 yValue_ = y;
79 }
80
81
82
83
84
85 @JsxGetter
86 public double getWidth() {
87 return width_;
88 }
89
90
91
92
93
94 @JsxSetter
95 public void setWidth(final double width) {
96 width_ = width;
97 }
98
99
100
101
102
103 @JsxGetter
104 public double getHeight() {
105 return height_;
106 }
107
108
109
110
111
112 @JsxSetter
113 public void setHeight(final double height) {
114 height_ = height;
115 }
116
117 }