OLD | NEW |
1 | 1 |
2 class SVGMarkerElement extends SVGElement native "*SVGMarkerElement" { | 2 class SVGMarkerElement extends SVGElement native "*SVGMarkerElement" { |
3 | 3 |
4 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; | 4 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; |
5 | 5 |
6 static final int SVG_MARKERUNITS_UNKNOWN = 0; | 6 static final int SVG_MARKERUNITS_UNKNOWN = 0; |
7 | 7 |
8 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; | 8 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; |
9 | 9 |
10 static final int SVG_MARKER_ORIENT_ANGLE = 2; | 10 static final int SVG_MARKER_ORIENT_ANGLE = 2; |
11 | 11 |
12 static final int SVG_MARKER_ORIENT_AUTO = 1; | 12 static final int SVG_MARKER_ORIENT_AUTO = 1; |
13 | 13 |
14 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; | 14 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; |
15 | 15 |
16 SVGAnimatedLength markerHeight; | 16 SVGAnimatedLength get markerHeight() native "return this.markerHeight;"; |
17 | 17 |
18 SVGAnimatedEnumeration markerUnits; | 18 SVGAnimatedEnumeration get markerUnits() native "return this.markerUnits;"; |
19 | 19 |
20 SVGAnimatedLength markerWidth; | 20 SVGAnimatedLength get markerWidth() native "return this.markerWidth;"; |
21 | 21 |
22 SVGAnimatedAngle orientAngle; | 22 SVGAnimatedAngle get orientAngle() native "return this.orientAngle;"; |
23 | 23 |
24 SVGAnimatedEnumeration orientType; | 24 SVGAnimatedEnumeration get orientType() native "return this.orientType;"; |
25 | 25 |
26 SVGAnimatedLength refX; | 26 SVGAnimatedLength get refX() native "return this.refX;"; |
27 | 27 |
28 SVGAnimatedLength refY; | 28 SVGAnimatedLength get refY() native "return this.refY;"; |
29 | 29 |
30 void setOrientToAngle(SVGAngle angle) native; | 30 void setOrientToAngle(SVGAngle angle) native; |
31 | 31 |
32 void setOrientToAuto() native; | 32 void setOrientToAuto() native; |
33 | 33 |
34 // From SVGLangSpace | 34 // From SVGLangSpace |
35 | 35 |
36 String xmllang; | 36 String get xmllang() native "return this.xmllang;"; |
37 | 37 |
38 String xmlspace; | 38 void set xmllang(String value) native "this.xmllang = value;"; |
| 39 |
| 40 String get xmlspace() native "return this.xmlspace;"; |
| 41 |
| 42 void set xmlspace(String value) native "this.xmlspace = value;"; |
39 | 43 |
40 // From SVGExternalResourcesRequired | 44 // From SVGExternalResourcesRequired |
41 | 45 |
42 SVGAnimatedBoolean externalResourcesRequired; | 46 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa
lResourcesRequired;"; |
43 | 47 |
44 // From SVGStylable | 48 // From SVGStylable |
45 | 49 |
46 SVGAnimatedString className; | 50 SVGAnimatedString get className() native "return this.className;"; |
47 | 51 |
48 CSSStyleDeclaration style; | 52 CSSStyleDeclaration get style() native "return this.style;"; |
49 | 53 |
50 CSSValue getPresentationAttribute(String name) native; | 54 CSSValue getPresentationAttribute(String name) native; |
51 | 55 |
52 // From SVGFitToViewBox | 56 // From SVGFitToViewBox |
53 | 57 |
54 SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 58 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p
reserveAspectRatio;"; |
55 | 59 |
56 SVGAnimatedRect viewBox; | 60 SVGAnimatedRect get viewBox() native "return this.viewBox;"; |
57 } | 61 } |
OLD | NEW |