Snippet Preview
Snippet HTML Code
1
/*
2
* Copyright 2012 Google Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
* use this file except in compliance with the License. You may obtain a copy of
6
* the License at
7
8
* http://www.apache.org/licenses/LICENSE-2.0
9
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
* License for the specific language governing permissions and limitations under
14
* the License.
15
*/
16
package elemental.js.svg;
17
import elemental.svg.SVGAnimatedLength;
18
import elemental.svg.SVGLinearGradientElement;
19
import elemental.svg.SVGGradientElement;
20
21
import com.google.gwt.core.client.GWT;
22
import com.google.gwt.core.client.JavaScriptObject;
23
24
import elemental.events.*;
25
import elemental.util.*;
26
import elemental.dom.*;
27
import elemental.html.*;
28
import elemental.css.*;
29
import elemental.js.stylesheets.*;
30
import elemental.js.events.*;
31
import elemental.js.util.*;
32
import elemental.js.dom.*;
33
import elemental.js.html.*;
34
import elemental.js.css.*;
35
36
37
import java.util.Date;
38
39
public class JsSVGLinearGradientElement extends JsSVGGradientElement implements SVGLinearGradientElement {
40
protected JsSVGLinearGradientElement() {}
41
42
public final native JsSVGAnimatedLength getX1() /*-{
43
return this.x1;
44
}-*/;
45
46
public final native JsSVGAnimatedLength getX2() /*-{
47
return this.x2;
48
49
50
public final native JsSVGAnimatedLength getY1() /*-{
51
return this.y1;
52
53
54
public final native JsSVGAnimatedLength getY2() /*-{
55
return this.y2;
56
57
}