| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
| 3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
| 4 * | 4 * |
| 5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
| 6 * refer to the | 6 * refer to the |
| 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| 8 */ | 8 */ |
| 9 library dart.dom.svg; | 9 library dart.dom.svg; |
| 10 | 10 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 118 } |
| 119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 120 // for details. All rights reserved. Use of this source code is governed by a | 120 // for details. All rights reserved. Use of this source code is governed by a |
| 121 // BSD-style license that can be found in the LICENSE file. | 121 // BSD-style license that can be found in the LICENSE file. |
| 122 | 122 |
| 123 | 123 |
| 124 @DocsEditable() | 124 @DocsEditable() |
| 125 @DomName('SVGAngle') | 125 @DomName('SVGAngle') |
| 126 @Unstable() | 126 @Unstable() |
| 127 class Angle extends Interceptor native "SVGAngle" { | 127 class Angle extends Interceptor native "SVGAngle" { |
| 128 // To suppress missing implicit constructor warnings. |
| 129 factory Angle._() { throw new UnsupportedError("Not supported"); } |
| 128 | 130 |
| 129 @DomName('SVGAngle.SVG_ANGLETYPE_DEG') | 131 @DomName('SVGAngle.SVG_ANGLETYPE_DEG') |
| 130 @DocsEditable() | 132 @DocsEditable() |
| 131 static const int SVG_ANGLETYPE_DEG = 2; | 133 static const int SVG_ANGLETYPE_DEG = 2; |
| 132 | 134 |
| 133 @DomName('SVGAngle.SVG_ANGLETYPE_GRAD') | 135 @DomName('SVGAngle.SVG_ANGLETYPE_GRAD') |
| 134 @DocsEditable() | 136 @DocsEditable() |
| 135 static const int SVG_ANGLETYPE_GRAD = 4; | 137 static const int SVG_ANGLETYPE_GRAD = 4; |
| 136 | 138 |
| 137 @DomName('SVGAngle.SVG_ANGLETYPE_RAD') | 139 @DomName('SVGAngle.SVG_ANGLETYPE_RAD') |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 } | 258 } |
| 257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 258 // for details. All rights reserved. Use of this source code is governed by a | 260 // for details. All rights reserved. Use of this source code is governed by a |
| 259 // BSD-style license that can be found in the LICENSE file. | 261 // BSD-style license that can be found in the LICENSE file. |
| 260 | 262 |
| 261 | 263 |
| 262 @DocsEditable() | 264 @DocsEditable() |
| 263 @DomName('SVGAnimatedAngle') | 265 @DomName('SVGAnimatedAngle') |
| 264 @Unstable() | 266 @Unstable() |
| 265 class AnimatedAngle extends Interceptor native "SVGAnimatedAngle" { | 267 class AnimatedAngle extends Interceptor native "SVGAnimatedAngle" { |
| 268 // To suppress missing implicit constructor warnings. |
| 269 factory AnimatedAngle._() { throw new UnsupportedError("Not supported"); } |
| 266 | 270 |
| 267 @DomName('SVGAnimatedAngle.animVal') | 271 @DomName('SVGAnimatedAngle.animVal') |
| 268 @DocsEditable() | 272 @DocsEditable() |
| 269 final Angle animVal; | 273 final Angle animVal; |
| 270 | 274 |
| 271 @DomName('SVGAnimatedAngle.baseVal') | 275 @DomName('SVGAnimatedAngle.baseVal') |
| 272 @DocsEditable() | 276 @DocsEditable() |
| 273 final Angle baseVal; | 277 final Angle baseVal; |
| 274 } | 278 } |
| 275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 276 // for details. All rights reserved. Use of this source code is governed by a | 280 // for details. All rights reserved. Use of this source code is governed by a |
| 277 // BSD-style license that can be found in the LICENSE file. | 281 // BSD-style license that can be found in the LICENSE file. |
| 278 | 282 |
| 279 | 283 |
| 280 @DocsEditable() | 284 @DocsEditable() |
| 281 @DomName('SVGAnimatedBoolean') | 285 @DomName('SVGAnimatedBoolean') |
| 282 @Unstable() | 286 @Unstable() |
| 283 class AnimatedBoolean extends Interceptor native "SVGAnimatedBoolean" { | 287 class AnimatedBoolean extends Interceptor native "SVGAnimatedBoolean" { |
| 288 // To suppress missing implicit constructor warnings. |
| 289 factory AnimatedBoolean._() { throw new UnsupportedError("Not supported"); } |
| 284 | 290 |
| 285 @DomName('SVGAnimatedBoolean.animVal') | 291 @DomName('SVGAnimatedBoolean.animVal') |
| 286 @DocsEditable() | 292 @DocsEditable() |
| 287 final bool animVal; | 293 final bool animVal; |
| 288 | 294 |
| 289 @DomName('SVGAnimatedBoolean.baseVal') | 295 @DomName('SVGAnimatedBoolean.baseVal') |
| 290 @DocsEditable() | 296 @DocsEditable() |
| 291 bool baseVal; | 297 bool baseVal; |
| 292 } | 298 } |
| 293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 294 // for details. All rights reserved. Use of this source code is governed by a | 300 // for details. All rights reserved. Use of this source code is governed by a |
| 295 // BSD-style license that can be found in the LICENSE file. | 301 // BSD-style license that can be found in the LICENSE file. |
| 296 | 302 |
| 297 | 303 |
| 298 @DocsEditable() | 304 @DocsEditable() |
| 299 @DomName('SVGAnimatedEnumeration') | 305 @DomName('SVGAnimatedEnumeration') |
| 300 @Unstable() | 306 @Unstable() |
| 301 class AnimatedEnumeration extends Interceptor native "SVGAnimatedEnumeration" { | 307 class AnimatedEnumeration extends Interceptor native "SVGAnimatedEnumeration" { |
| 308 // To suppress missing implicit constructor warnings. |
| 309 factory AnimatedEnumeration._() { throw new UnsupportedError("Not supported");
} |
| 302 | 310 |
| 303 @DomName('SVGAnimatedEnumeration.animVal') | 311 @DomName('SVGAnimatedEnumeration.animVal') |
| 304 @DocsEditable() | 312 @DocsEditable() |
| 305 final int animVal; | 313 final int animVal; |
| 306 | 314 |
| 307 @DomName('SVGAnimatedEnumeration.baseVal') | 315 @DomName('SVGAnimatedEnumeration.baseVal') |
| 308 @DocsEditable() | 316 @DocsEditable() |
| 309 int baseVal; | 317 int baseVal; |
| 310 } | 318 } |
| 311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 312 // for details. All rights reserved. Use of this source code is governed by a | 320 // for details. All rights reserved. Use of this source code is governed by a |
| 313 // BSD-style license that can be found in the LICENSE file. | 321 // BSD-style license that can be found in the LICENSE file. |
| 314 | 322 |
| 315 | 323 |
| 316 @DocsEditable() | 324 @DocsEditable() |
| 317 @DomName('SVGAnimatedInteger') | 325 @DomName('SVGAnimatedInteger') |
| 318 @Unstable() | 326 @Unstable() |
| 319 class AnimatedInteger extends Interceptor native "SVGAnimatedInteger" { | 327 class AnimatedInteger extends Interceptor native "SVGAnimatedInteger" { |
| 328 // To suppress missing implicit constructor warnings. |
| 329 factory AnimatedInteger._() { throw new UnsupportedError("Not supported"); } |
| 320 | 330 |
| 321 @DomName('SVGAnimatedInteger.animVal') | 331 @DomName('SVGAnimatedInteger.animVal') |
| 322 @DocsEditable() | 332 @DocsEditable() |
| 323 final int animVal; | 333 final int animVal; |
| 324 | 334 |
| 325 @DomName('SVGAnimatedInteger.baseVal') | 335 @DomName('SVGAnimatedInteger.baseVal') |
| 326 @DocsEditable() | 336 @DocsEditable() |
| 327 int baseVal; | 337 int baseVal; |
| 328 } | 338 } |
| 329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 330 // for details. All rights reserved. Use of this source code is governed by a | 340 // for details. All rights reserved. Use of this source code is governed by a |
| 331 // BSD-style license that can be found in the LICENSE file. | 341 // BSD-style license that can be found in the LICENSE file. |
| 332 | 342 |
| 333 | 343 |
| 334 @DocsEditable() | 344 @DocsEditable() |
| 335 @DomName('SVGAnimatedLength') | 345 @DomName('SVGAnimatedLength') |
| 336 @Unstable() | 346 @Unstable() |
| 337 class AnimatedLength extends Interceptor native "SVGAnimatedLength" { | 347 class AnimatedLength extends Interceptor native "SVGAnimatedLength" { |
| 348 // To suppress missing implicit constructor warnings. |
| 349 factory AnimatedLength._() { throw new UnsupportedError("Not supported"); } |
| 338 | 350 |
| 339 @DomName('SVGAnimatedLength.animVal') | 351 @DomName('SVGAnimatedLength.animVal') |
| 340 @DocsEditable() | 352 @DocsEditable() |
| 341 final Length animVal; | 353 final Length animVal; |
| 342 | 354 |
| 343 @DomName('SVGAnimatedLength.baseVal') | 355 @DomName('SVGAnimatedLength.baseVal') |
| 344 @DocsEditable() | 356 @DocsEditable() |
| 345 final Length baseVal; | 357 final Length baseVal; |
| 346 } | 358 } |
| 347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 359 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 348 // for details. All rights reserved. Use of this source code is governed by a | 360 // for details. All rights reserved. Use of this source code is governed by a |
| 349 // BSD-style license that can be found in the LICENSE file. | 361 // BSD-style license that can be found in the LICENSE file. |
| 350 | 362 |
| 351 | 363 |
| 352 @DocsEditable() | 364 @DocsEditable() |
| 353 @DomName('SVGAnimatedLengthList') | 365 @DomName('SVGAnimatedLengthList') |
| 354 @Unstable() | 366 @Unstable() |
| 355 class AnimatedLengthList extends Interceptor native "SVGAnimatedLengthList" { | 367 class AnimatedLengthList extends Interceptor native "SVGAnimatedLengthList" { |
| 368 // To suppress missing implicit constructor warnings. |
| 369 factory AnimatedLengthList._() { throw new UnsupportedError("Not supported");
} |
| 356 | 370 |
| 357 @DomName('SVGAnimatedLengthList.animVal') | 371 @DomName('SVGAnimatedLengthList.animVal') |
| 358 @DocsEditable() | 372 @DocsEditable() |
| 359 final LengthList animVal; | 373 final LengthList animVal; |
| 360 | 374 |
| 361 @DomName('SVGAnimatedLengthList.baseVal') | 375 @DomName('SVGAnimatedLengthList.baseVal') |
| 362 @DocsEditable() | 376 @DocsEditable() |
| 363 final LengthList baseVal; | 377 final LengthList baseVal; |
| 364 } | 378 } |
| 365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 366 // for details. All rights reserved. Use of this source code is governed by a | 380 // for details. All rights reserved. Use of this source code is governed by a |
| 367 // BSD-style license that can be found in the LICENSE file. | 381 // BSD-style license that can be found in the LICENSE file. |
| 368 | 382 |
| 369 | 383 |
| 370 @DocsEditable() | 384 @DocsEditable() |
| 371 @DomName('SVGAnimatedNumber') | 385 @DomName('SVGAnimatedNumber') |
| 372 @Unstable() | 386 @Unstable() |
| 373 class AnimatedNumber extends Interceptor native "SVGAnimatedNumber" { | 387 class AnimatedNumber extends Interceptor native "SVGAnimatedNumber" { |
| 388 // To suppress missing implicit constructor warnings. |
| 389 factory AnimatedNumber._() { throw new UnsupportedError("Not supported"); } |
| 374 | 390 |
| 375 @DomName('SVGAnimatedNumber.animVal') | 391 @DomName('SVGAnimatedNumber.animVal') |
| 376 @DocsEditable() | 392 @DocsEditable() |
| 377 final double animVal; | 393 final double animVal; |
| 378 | 394 |
| 379 @DomName('SVGAnimatedNumber.baseVal') | 395 @DomName('SVGAnimatedNumber.baseVal') |
| 380 @DocsEditable() | 396 @DocsEditable() |
| 381 num baseVal; | 397 num baseVal; |
| 382 } | 398 } |
| 383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 384 // for details. All rights reserved. Use of this source code is governed by a | 400 // for details. All rights reserved. Use of this source code is governed by a |
| 385 // BSD-style license that can be found in the LICENSE file. | 401 // BSD-style license that can be found in the LICENSE file. |
| 386 | 402 |
| 387 | 403 |
| 388 @DocsEditable() | 404 @DocsEditable() |
| 389 @DomName('SVGAnimatedNumberList') | 405 @DomName('SVGAnimatedNumberList') |
| 390 @Unstable() | 406 @Unstable() |
| 391 class AnimatedNumberList extends Interceptor native "SVGAnimatedNumberList" { | 407 class AnimatedNumberList extends Interceptor native "SVGAnimatedNumberList" { |
| 408 // To suppress missing implicit constructor warnings. |
| 409 factory AnimatedNumberList._() { throw new UnsupportedError("Not supported");
} |
| 392 | 410 |
| 393 @DomName('SVGAnimatedNumberList.animVal') | 411 @DomName('SVGAnimatedNumberList.animVal') |
| 394 @DocsEditable() | 412 @DocsEditable() |
| 395 final NumberList animVal; | 413 final NumberList animVal; |
| 396 | 414 |
| 397 @DomName('SVGAnimatedNumberList.baseVal') | 415 @DomName('SVGAnimatedNumberList.baseVal') |
| 398 @DocsEditable() | 416 @DocsEditable() |
| 399 final NumberList baseVal; | 417 final NumberList baseVal; |
| 400 } | 418 } |
| 401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 402 // for details. All rights reserved. Use of this source code is governed by a | 420 // for details. All rights reserved. Use of this source code is governed by a |
| 403 // BSD-style license that can be found in the LICENSE file. | 421 // BSD-style license that can be found in the LICENSE file. |
| 404 | 422 |
| 405 | 423 |
| 406 @DocsEditable() | 424 @DocsEditable() |
| 407 @DomName('SVGAnimatedPreserveAspectRatio') | 425 @DomName('SVGAnimatedPreserveAspectRatio') |
| 408 @Unstable() | 426 @Unstable() |
| 409 class AnimatedPreserveAspectRatio extends Interceptor native "SVGAnimatedPreserv
eAspectRatio" { | 427 class AnimatedPreserveAspectRatio extends Interceptor native "SVGAnimatedPreserv
eAspectRatio" { |
| 428 // To suppress missing implicit constructor warnings. |
| 429 factory AnimatedPreserveAspectRatio._() { throw new UnsupportedError("Not supp
orted"); } |
| 410 | 430 |
| 411 @DomName('SVGAnimatedPreserveAspectRatio.animVal') | 431 @DomName('SVGAnimatedPreserveAspectRatio.animVal') |
| 412 @DocsEditable() | 432 @DocsEditable() |
| 413 final PreserveAspectRatio animVal; | 433 final PreserveAspectRatio animVal; |
| 414 | 434 |
| 415 @DomName('SVGAnimatedPreserveAspectRatio.baseVal') | 435 @DomName('SVGAnimatedPreserveAspectRatio.baseVal') |
| 416 @DocsEditable() | 436 @DocsEditable() |
| 417 final PreserveAspectRatio baseVal; | 437 final PreserveAspectRatio baseVal; |
| 418 } | 438 } |
| 419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 420 // for details. All rights reserved. Use of this source code is governed by a | 440 // for details. All rights reserved. Use of this source code is governed by a |
| 421 // BSD-style license that can be found in the LICENSE file. | 441 // BSD-style license that can be found in the LICENSE file. |
| 422 | 442 |
| 423 | 443 |
| 424 @DocsEditable() | 444 @DocsEditable() |
| 425 @DomName('SVGAnimatedRect') | 445 @DomName('SVGAnimatedRect') |
| 426 @Unstable() | 446 @Unstable() |
| 427 class AnimatedRect extends Interceptor native "SVGAnimatedRect" { | 447 class AnimatedRect extends Interceptor native "SVGAnimatedRect" { |
| 448 // To suppress missing implicit constructor warnings. |
| 449 factory AnimatedRect._() { throw new UnsupportedError("Not supported"); } |
| 428 | 450 |
| 429 @DomName('SVGAnimatedRect.animVal') | 451 @DomName('SVGAnimatedRect.animVal') |
| 430 @DocsEditable() | 452 @DocsEditable() |
| 431 final Rect animVal; | 453 final Rect animVal; |
| 432 | 454 |
| 433 @DomName('SVGAnimatedRect.baseVal') | 455 @DomName('SVGAnimatedRect.baseVal') |
| 434 @DocsEditable() | 456 @DocsEditable() |
| 435 final Rect baseVal; | 457 final Rect baseVal; |
| 436 } | 458 } |
| 437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 438 // for details. All rights reserved. Use of this source code is governed by a | 460 // for details. All rights reserved. Use of this source code is governed by a |
| 439 // BSD-style license that can be found in the LICENSE file. | 461 // BSD-style license that can be found in the LICENSE file. |
| 440 | 462 |
| 441 | 463 |
| 442 @DocsEditable() | 464 @DocsEditable() |
| 443 @DomName('SVGAnimatedString') | 465 @DomName('SVGAnimatedString') |
| 444 @Unstable() | 466 @Unstable() |
| 445 class AnimatedString extends Interceptor native "SVGAnimatedString" { | 467 class AnimatedString extends Interceptor native "SVGAnimatedString" { |
| 468 // To suppress missing implicit constructor warnings. |
| 469 factory AnimatedString._() { throw new UnsupportedError("Not supported"); } |
| 446 | 470 |
| 447 @DomName('SVGAnimatedString.animVal') | 471 @DomName('SVGAnimatedString.animVal') |
| 448 @DocsEditable() | 472 @DocsEditable() |
| 449 final String animVal; | 473 final String animVal; |
| 450 | 474 |
| 451 @DomName('SVGAnimatedString.baseVal') | 475 @DomName('SVGAnimatedString.baseVal') |
| 452 @DocsEditable() | 476 @DocsEditable() |
| 453 String baseVal; | 477 String baseVal; |
| 454 } | 478 } |
| 455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 456 // for details. All rights reserved. Use of this source code is governed by a | 480 // for details. All rights reserved. Use of this source code is governed by a |
| 457 // BSD-style license that can be found in the LICENSE file. | 481 // BSD-style license that can be found in the LICENSE file. |
| 458 | 482 |
| 459 | 483 |
| 460 @DocsEditable() | 484 @DocsEditable() |
| 461 @DomName('SVGAnimatedTransformList') | 485 @DomName('SVGAnimatedTransformList') |
| 462 @Unstable() | 486 @Unstable() |
| 463 class AnimatedTransformList extends Interceptor native "SVGAnimatedTransformList
" { | 487 class AnimatedTransformList extends Interceptor native "SVGAnimatedTransformList
" { |
| 488 // To suppress missing implicit constructor warnings. |
| 489 factory AnimatedTransformList._() { throw new UnsupportedError("Not supported"
); } |
| 464 | 490 |
| 465 @DomName('SVGAnimatedTransformList.animVal') | 491 @DomName('SVGAnimatedTransformList.animVal') |
| 466 @DocsEditable() | 492 @DocsEditable() |
| 467 final TransformList animVal; | 493 final TransformList animVal; |
| 468 | 494 |
| 469 @DomName('SVGAnimatedTransformList.baseVal') | 495 @DomName('SVGAnimatedTransformList.baseVal') |
| 470 @DocsEditable() | 496 @DocsEditable() |
| 471 final TransformList baseVal; | 497 final TransformList baseVal; |
| 472 } | 498 } |
| 473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 } | 1132 } |
| 1107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1108 // for details. All rights reserved. Use of this source code is governed by a | 1134 // for details. All rights reserved. Use of this source code is governed by a |
| 1109 // BSD-style license that can be found in the LICENSE file. | 1135 // BSD-style license that can be found in the LICENSE file. |
| 1110 | 1136 |
| 1111 | 1137 |
| 1112 @DocsEditable() | 1138 @DocsEditable() |
| 1113 @DomName('SVGExternalResourcesRequired') | 1139 @DomName('SVGExternalResourcesRequired') |
| 1114 @Unstable() | 1140 @Unstable() |
| 1115 abstract class ExternalResourcesRequired extends Interceptor { | 1141 abstract class ExternalResourcesRequired extends Interceptor { |
| 1142 // To suppress missing implicit constructor warnings. |
| 1143 factory ExternalResourcesRequired._() { throw new UnsupportedError("Not suppor
ted"); } |
| 1116 | 1144 |
| 1117 /// Checks if this type is supported on the current platform. | 1145 /// Checks if this type is supported on the current platform. |
| 1118 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe
quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem
ent, element); | 1146 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe
quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem
ent, element); |
| 1119 | 1147 |
| 1120 AnimatedBoolean externalResourcesRequired; | 1148 AnimatedBoolean externalResourcesRequired; |
| 1121 } | 1149 } |
| 1122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1123 // for details. All rights reserved. Use of this source code is governed by a | 1151 // for details. All rights reserved. Use of this source code is governed by a |
| 1124 // BSD-style license that can be found in the LICENSE file. | 1152 // BSD-style license that can be found in the LICENSE file. |
| 1125 | 1153 |
| (...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2680 } | 2708 } |
| 2681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2682 // for details. All rights reserved. Use of this source code is governed by a | 2710 // for details. All rights reserved. Use of this source code is governed by a |
| 2683 // BSD-style license that can be found in the LICENSE file. | 2711 // BSD-style license that can be found in the LICENSE file. |
| 2684 | 2712 |
| 2685 | 2713 |
| 2686 @DocsEditable() | 2714 @DocsEditable() |
| 2687 @DomName('SVGFilterPrimitiveStandardAttributes') | 2715 @DomName('SVGFilterPrimitiveStandardAttributes') |
| 2688 @Unstable() | 2716 @Unstable() |
| 2689 abstract class FilterPrimitiveStandardAttributes extends Interceptor { | 2717 abstract class FilterPrimitiveStandardAttributes extends Interceptor { |
| 2718 // To suppress missing implicit constructor warnings. |
| 2719 factory FilterPrimitiveStandardAttributes._() { throw new UnsupportedError("No
t supported"); } |
| 2690 | 2720 |
| 2691 AnimatedLength height; | 2721 AnimatedLength height; |
| 2692 | 2722 |
| 2693 AnimatedString result; | 2723 AnimatedString result; |
| 2694 | 2724 |
| 2695 AnimatedLength width; | 2725 AnimatedLength width; |
| 2696 | 2726 |
| 2697 AnimatedLength x; | 2727 AnimatedLength x; |
| 2698 | 2728 |
| 2699 AnimatedLength y; | 2729 AnimatedLength y; |
| 2700 } | 2730 } |
| 2701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2702 // for details. All rights reserved. Use of this source code is governed by a | 2732 // for details. All rights reserved. Use of this source code is governed by a |
| 2703 // BSD-style license that can be found in the LICENSE file. | 2733 // BSD-style license that can be found in the LICENSE file. |
| 2704 | 2734 |
| 2705 | 2735 |
| 2706 @DocsEditable() | 2736 @DocsEditable() |
| 2707 @DomName('SVGFitToViewBox') | 2737 @DomName('SVGFitToViewBox') |
| 2708 @Unstable() | 2738 @Unstable() |
| 2709 abstract class FitToViewBox extends Interceptor { | 2739 abstract class FitToViewBox extends Interceptor { |
| 2740 // To suppress missing implicit constructor warnings. |
| 2741 factory FitToViewBox._() { throw new UnsupportedError("Not supported"); } |
| 2710 | 2742 |
| 2711 AnimatedPreserveAspectRatio preserveAspectRatio; | 2743 AnimatedPreserveAspectRatio preserveAspectRatio; |
| 2712 | 2744 |
| 2713 AnimatedRect viewBox; | 2745 AnimatedRect viewBox; |
| 2714 } | 2746 } |
| 2715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2716 // for details. All rights reserved. Use of this source code is governed by a | 2748 // for details. All rights reserved. Use of this source code is governed by a |
| 2717 // BSD-style license that can be found in the LICENSE file. | 2749 // BSD-style license that can be found in the LICENSE file. |
| 2718 | 2750 |
| 2719 | 2751 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2923 } | 2955 } |
| 2924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2925 // for details. All rights reserved. Use of this source code is governed by a | 2957 // for details. All rights reserved. Use of this source code is governed by a |
| 2926 // BSD-style license that can be found in the LICENSE file. | 2958 // BSD-style license that can be found in the LICENSE file. |
| 2927 | 2959 |
| 2928 | 2960 |
| 2929 @DocsEditable() | 2961 @DocsEditable() |
| 2930 @DomName('SVGLength') | 2962 @DomName('SVGLength') |
| 2931 @Unstable() | 2963 @Unstable() |
| 2932 class Length extends Interceptor native "SVGLength" { | 2964 class Length extends Interceptor native "SVGLength" { |
| 2965 // To suppress missing implicit constructor warnings. |
| 2966 factory Length._() { throw new UnsupportedError("Not supported"); } |
| 2933 | 2967 |
| 2934 @DomName('SVGLength.SVG_LENGTHTYPE_CM') | 2968 @DomName('SVGLength.SVG_LENGTHTYPE_CM') |
| 2935 @DocsEditable() | 2969 @DocsEditable() |
| 2936 static const int SVG_LENGTHTYPE_CM = 6; | 2970 static const int SVG_LENGTHTYPE_CM = 6; |
| 2937 | 2971 |
| 2938 @DomName('SVGLength.SVG_LENGTHTYPE_EMS') | 2972 @DomName('SVGLength.SVG_LENGTHTYPE_EMS') |
| 2939 @DocsEditable() | 2973 @DocsEditable() |
| 2940 static const int SVG_LENGTHTYPE_EMS = 3; | 2974 static const int SVG_LENGTHTYPE_EMS = 3; |
| 2941 | 2975 |
| 2942 @DomName('SVGLength.SVG_LENGTHTYPE_EXS') | 2976 @DomName('SVGLength.SVG_LENGTHTYPE_EXS') |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3001 } | 3035 } |
| 3002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3003 // for details. All rights reserved. Use of this source code is governed by a | 3037 // for details. All rights reserved. Use of this source code is governed by a |
| 3004 // BSD-style license that can be found in the LICENSE file. | 3038 // BSD-style license that can be found in the LICENSE file. |
| 3005 | 3039 |
| 3006 | 3040 |
| 3007 @DocsEditable() | 3041 @DocsEditable() |
| 3008 @DomName('SVGLengthList') | 3042 @DomName('SVGLengthList') |
| 3009 @Unstable() | 3043 @Unstable() |
| 3010 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements List native "SVGLengthList" { | 3044 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements List native "SVGLengthList" { |
| 3045 // To suppress missing implicit constructor warnings. |
| 3046 factory LengthList._() { throw new UnsupportedError("Not supported"); } |
| 3011 | 3047 |
| 3012 @DomName('SVGLengthList.numberOfItems') | 3048 @DomName('SVGLengthList.numberOfItems') |
| 3013 @DocsEditable() | 3049 @DocsEditable() |
| 3014 final int numberOfItems; | 3050 final int numberOfItems; |
| 3015 | 3051 |
| 3016 Length operator[](int index) { | 3052 Length operator[](int index) { |
| 3017 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3053 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3018 index, index, length)) | 3054 index, index, length)) |
| 3019 throw new RangeError.range(index, 0, length); | 3055 throw new RangeError.range(index, 0, length); |
| 3020 return this.getItem(index); | 3056 return this.getItem(index); |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3339 } | 3375 } |
| 3340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3341 // for details. All rights reserved. Use of this source code is governed by a | 3377 // for details. All rights reserved. Use of this source code is governed by a |
| 3342 // BSD-style license that can be found in the LICENSE file. | 3378 // BSD-style license that can be found in the LICENSE file. |
| 3343 | 3379 |
| 3344 | 3380 |
| 3345 @DocsEditable() | 3381 @DocsEditable() |
| 3346 @DomName('SVGMatrix') | 3382 @DomName('SVGMatrix') |
| 3347 @Unstable() | 3383 @Unstable() |
| 3348 class Matrix extends Interceptor native "SVGMatrix" { | 3384 class Matrix extends Interceptor native "SVGMatrix" { |
| 3385 // To suppress missing implicit constructor warnings. |
| 3386 factory Matrix._() { throw new UnsupportedError("Not supported"); } |
| 3349 | 3387 |
| 3350 @DomName('SVGMatrix.a') | 3388 @DomName('SVGMatrix.a') |
| 3351 @DocsEditable() | 3389 @DocsEditable() |
| 3352 num a; | 3390 num a; |
| 3353 | 3391 |
| 3354 @DomName('SVGMatrix.b') | 3392 @DomName('SVGMatrix.b') |
| 3355 @DocsEditable() | 3393 @DocsEditable() |
| 3356 num b; | 3394 num b; |
| 3357 | 3395 |
| 3358 @DomName('SVGMatrix.c') | 3396 @DomName('SVGMatrix.c') |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3435 } | 3473 } |
| 3436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3437 // for details. All rights reserved. Use of this source code is governed by a | 3475 // for details. All rights reserved. Use of this source code is governed by a |
| 3438 // BSD-style license that can be found in the LICENSE file. | 3476 // BSD-style license that can be found in the LICENSE file. |
| 3439 | 3477 |
| 3440 | 3478 |
| 3441 @DocsEditable() | 3479 @DocsEditable() |
| 3442 @DomName('SVGNumber') | 3480 @DomName('SVGNumber') |
| 3443 @Unstable() | 3481 @Unstable() |
| 3444 class Number extends Interceptor native "SVGNumber" { | 3482 class Number extends Interceptor native "SVGNumber" { |
| 3483 // To suppress missing implicit constructor warnings. |
| 3484 factory Number._() { throw new UnsupportedError("Not supported"); } |
| 3445 | 3485 |
| 3446 @DomName('SVGNumber.value') | 3486 @DomName('SVGNumber.value') |
| 3447 @DocsEditable() | 3487 @DocsEditable() |
| 3448 num value; | 3488 num value; |
| 3449 } | 3489 } |
| 3450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3451 // for details. All rights reserved. Use of this source code is governed by a | 3491 // for details. All rights reserved. Use of this source code is governed by a |
| 3452 // BSD-style license that can be found in the LICENSE file. | 3492 // BSD-style license that can be found in the LICENSE file. |
| 3453 | 3493 |
| 3454 | 3494 |
| 3455 @DocsEditable() | 3495 @DocsEditable() |
| 3456 @DomName('SVGNumberList') | 3496 @DomName('SVGNumberList') |
| 3457 @Unstable() | 3497 @Unstable() |
| 3458 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements List native "SVGNumberList" { | 3498 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements List native "SVGNumberList" { |
| 3499 // To suppress missing implicit constructor warnings. |
| 3500 factory NumberList._() { throw new UnsupportedError("Not supported"); } |
| 3459 | 3501 |
| 3460 @DomName('SVGNumberList.numberOfItems') | 3502 @DomName('SVGNumberList.numberOfItems') |
| 3461 @DocsEditable() | 3503 @DocsEditable() |
| 3462 final int numberOfItems; | 3504 final int numberOfItems; |
| 3463 | 3505 |
| 3464 Number operator[](int index) { | 3506 Number operator[](int index) { |
| 3465 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3507 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3466 index, index, length)) | 3508 index, index, length)) |
| 3467 throw new RangeError.range(index, 0, length); | 3509 throw new RangeError.range(index, 0, length); |
| 3468 return this.getItem(index); | 3510 return this.getItem(index); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3692 } | 3734 } |
| 3693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3694 // for details. All rights reserved. Use of this source code is governed by a | 3736 // for details. All rights reserved. Use of this source code is governed by a |
| 3695 // BSD-style license that can be found in the LICENSE file. | 3737 // BSD-style license that can be found in the LICENSE file. |
| 3696 | 3738 |
| 3697 | 3739 |
| 3698 @DocsEditable() | 3740 @DocsEditable() |
| 3699 @DomName('SVGPathSeg') | 3741 @DomName('SVGPathSeg') |
| 3700 @Unstable() | 3742 @Unstable() |
| 3701 class PathSeg extends Interceptor native "SVGPathSeg" { | 3743 class PathSeg extends Interceptor native "SVGPathSeg" { |
| 3744 // To suppress missing implicit constructor warnings. |
| 3745 factory PathSeg._() { throw new UnsupportedError("Not supported"); } |
| 3702 | 3746 |
| 3703 @DomName('SVGPathSeg.PATHSEG_ARC_ABS') | 3747 @DomName('SVGPathSeg.PATHSEG_ARC_ABS') |
| 3704 @DocsEditable() | 3748 @DocsEditable() |
| 3705 static const int PATHSEG_ARC_ABS = 10; | 3749 static const int PATHSEG_ARC_ABS = 10; |
| 3706 | 3750 |
| 3707 @DomName('SVGPathSeg.PATHSEG_ARC_REL') | 3751 @DomName('SVGPathSeg.PATHSEG_ARC_REL') |
| 3708 @DocsEditable() | 3752 @DocsEditable() |
| 3709 static const int PATHSEG_ARC_REL = 11; | 3753 static const int PATHSEG_ARC_REL = 11; |
| 3710 | 3754 |
| 3711 @DomName('SVGPathSeg.PATHSEG_CLOSEPATH') | 3755 @DomName('SVGPathSeg.PATHSEG_CLOSEPATH') |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4210 } | 4254 } |
| 4211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4212 // for details. All rights reserved. Use of this source code is governed by a | 4256 // for details. All rights reserved. Use of this source code is governed by a |
| 4213 // BSD-style license that can be found in the LICENSE file. | 4257 // BSD-style license that can be found in the LICENSE file. |
| 4214 | 4258 |
| 4215 | 4259 |
| 4216 @DocsEditable() | 4260 @DocsEditable() |
| 4217 @DomName('SVGPathSegList') | 4261 @DomName('SVGPathSegList') |
| 4218 @Unstable() | 4262 @Unstable() |
| 4219 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements List native "SVGPathSegList" { | 4263 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements List native "SVGPathSegList" { |
| 4264 // To suppress missing implicit constructor warnings. |
| 4265 factory PathSegList._() { throw new UnsupportedError("Not supported"); } |
| 4220 | 4266 |
| 4221 @DomName('SVGPathSegList.numberOfItems') | 4267 @DomName('SVGPathSegList.numberOfItems') |
| 4222 @DocsEditable() | 4268 @DocsEditable() |
| 4223 final int numberOfItems; | 4269 final int numberOfItems; |
| 4224 | 4270 |
| 4225 PathSeg operator[](int index) { | 4271 PathSeg operator[](int index) { |
| 4226 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 4272 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 4227 index, index, length)) | 4273 index, index, length)) |
| 4228 throw new RangeError.range(index, 0, length); | 4274 throw new RangeError.range(index, 0, length); |
| 4229 return this.getItem(index); | 4275 return this.getItem(index); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4428 } | 4474 } |
| 4429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4430 // for details. All rights reserved. Use of this source code is governed by a | 4476 // for details. All rights reserved. Use of this source code is governed by a |
| 4431 // BSD-style license that can be found in the LICENSE file. | 4477 // BSD-style license that can be found in the LICENSE file. |
| 4432 | 4478 |
| 4433 | 4479 |
| 4434 @DocsEditable() | 4480 @DocsEditable() |
| 4435 @DomName('SVGPoint') | 4481 @DomName('SVGPoint') |
| 4436 @Unstable() | 4482 @Unstable() |
| 4437 class Point extends Interceptor native "SVGPoint" { | 4483 class Point extends Interceptor native "SVGPoint" { |
| 4484 // To suppress missing implicit constructor warnings. |
| 4485 factory Point._() { throw new UnsupportedError("Not supported"); } |
| 4438 | 4486 |
| 4439 @DomName('SVGPoint.x') | 4487 @DomName('SVGPoint.x') |
| 4440 @DocsEditable() | 4488 @DocsEditable() |
| 4441 num x; | 4489 num x; |
| 4442 | 4490 |
| 4443 @DomName('SVGPoint.y') | 4491 @DomName('SVGPoint.y') |
| 4444 @DocsEditable() | 4492 @DocsEditable() |
| 4445 num y; | 4493 num y; |
| 4446 | 4494 |
| 4447 @DomName('SVGPoint.matrixTransform') | 4495 @DomName('SVGPoint.matrixTransform') |
| 4448 @DocsEditable() | 4496 @DocsEditable() |
| 4449 Point matrixTransform(Matrix matrix) native; | 4497 Point matrixTransform(Matrix matrix) native; |
| 4450 } | 4498 } |
| 4451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4452 // for details. All rights reserved. Use of this source code is governed by a | 4500 // for details. All rights reserved. Use of this source code is governed by a |
| 4453 // BSD-style license that can be found in the LICENSE file. | 4501 // BSD-style license that can be found in the LICENSE file. |
| 4454 | 4502 |
| 4455 | 4503 |
| 4456 @DocsEditable() | 4504 @DocsEditable() |
| 4457 @DomName('SVGPointList') | 4505 @DomName('SVGPointList') |
| 4458 @Unstable() | 4506 @Unstable() |
| 4459 class PointList extends Interceptor native "SVGPointList" { | 4507 class PointList extends Interceptor native "SVGPointList" { |
| 4508 // To suppress missing implicit constructor warnings. |
| 4509 factory PointList._() { throw new UnsupportedError("Not supported"); } |
| 4460 | 4510 |
| 4461 @DomName('SVGPointList.numberOfItems') | 4511 @DomName('SVGPointList.numberOfItems') |
| 4462 @DocsEditable() | 4512 @DocsEditable() |
| 4463 final int numberOfItems; | 4513 final int numberOfItems; |
| 4464 | 4514 |
| 4465 @DomName('SVGPointList.appendItem') | 4515 @DomName('SVGPointList.appendItem') |
| 4466 @DocsEditable() | 4516 @DocsEditable() |
| 4467 Point appendItem(Point item) native; | 4517 Point appendItem(Point item) native; |
| 4468 | 4518 |
| 4469 @DomName('SVGPointList.clear') | 4519 @DomName('SVGPointList.clear') |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4564 } | 4614 } |
| 4565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4615 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4566 // for details. All rights reserved. Use of this source code is governed by a | 4616 // for details. All rights reserved. Use of this source code is governed by a |
| 4567 // BSD-style license that can be found in the LICENSE file. | 4617 // BSD-style license that can be found in the LICENSE file. |
| 4568 | 4618 |
| 4569 | 4619 |
| 4570 @DocsEditable() | 4620 @DocsEditable() |
| 4571 @DomName('SVGPreserveAspectRatio') | 4621 @DomName('SVGPreserveAspectRatio') |
| 4572 @Unstable() | 4622 @Unstable() |
| 4573 class PreserveAspectRatio extends Interceptor native "SVGPreserveAspectRatio" { | 4623 class PreserveAspectRatio extends Interceptor native "SVGPreserveAspectRatio" { |
| 4624 // To suppress missing implicit constructor warnings. |
| 4625 factory PreserveAspectRatio._() { throw new UnsupportedError("Not supported");
} |
| 4574 | 4626 |
| 4575 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET') | 4627 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET') |
| 4576 @DocsEditable() | 4628 @DocsEditable() |
| 4577 static const int SVG_MEETORSLICE_MEET = 1; | 4629 static const int SVG_MEETORSLICE_MEET = 1; |
| 4578 | 4630 |
| 4579 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE') | 4631 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE') |
| 4580 @DocsEditable() | 4632 @DocsEditable() |
| 4581 static const int SVG_MEETORSLICE_SLICE = 2; | 4633 static const int SVG_MEETORSLICE_SLICE = 2; |
| 4582 | 4634 |
| 4583 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN') | 4635 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN') |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4684 } | 4736 } |
| 4685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4686 // for details. All rights reserved. Use of this source code is governed by a | 4738 // for details. All rights reserved. Use of this source code is governed by a |
| 4687 // BSD-style license that can be found in the LICENSE file. | 4739 // BSD-style license that can be found in the LICENSE file. |
| 4688 | 4740 |
| 4689 | 4741 |
| 4690 @DocsEditable() | 4742 @DocsEditable() |
| 4691 @DomName('SVGRect') | 4743 @DomName('SVGRect') |
| 4692 @Unstable() | 4744 @Unstable() |
| 4693 class Rect extends Interceptor native "SVGRect" { | 4745 class Rect extends Interceptor native "SVGRect" { |
| 4746 // To suppress missing implicit constructor warnings. |
| 4747 factory Rect._() { throw new UnsupportedError("Not supported"); } |
| 4694 | 4748 |
| 4695 @DomName('SVGRect.height') | 4749 @DomName('SVGRect.height') |
| 4696 @DocsEditable() | 4750 @DocsEditable() |
| 4697 num height; | 4751 num height; |
| 4698 | 4752 |
| 4699 @DomName('SVGRect.width') | 4753 @DomName('SVGRect.width') |
| 4700 @DocsEditable() | 4754 @DocsEditable() |
| 4701 num width; | 4755 num width; |
| 4702 | 4756 |
| 4703 @DomName('SVGRect.x') | 4757 @DomName('SVGRect.x') |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4762 } | 4816 } |
| 4763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4764 // for details. All rights reserved. Use of this source code is governed by a | 4818 // for details. All rights reserved. Use of this source code is governed by a |
| 4765 // BSD-style license that can be found in the LICENSE file. | 4819 // BSD-style license that can be found in the LICENSE file. |
| 4766 | 4820 |
| 4767 | 4821 |
| 4768 @DocsEditable() | 4822 @DocsEditable() |
| 4769 @DomName('SVGRenderingIntent') | 4823 @DomName('SVGRenderingIntent') |
| 4770 @Unstable() | 4824 @Unstable() |
| 4771 class RenderingIntent extends Interceptor native "SVGRenderingIntent" { | 4825 class RenderingIntent extends Interceptor native "SVGRenderingIntent" { |
| 4826 // To suppress missing implicit constructor warnings. |
| 4827 factory RenderingIntent._() { throw new UnsupportedError("Not supported"); } |
| 4772 | 4828 |
| 4773 @DomName('SVGRenderingIntent.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC') | 4829 @DomName('SVGRenderingIntent.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC') |
| 4774 @DocsEditable() | 4830 @DocsEditable() |
| 4775 static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; | 4831 static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; |
| 4776 | 4832 |
| 4777 @DomName('SVGRenderingIntent.RENDERING_INTENT_AUTO') | 4833 @DomName('SVGRenderingIntent.RENDERING_INTENT_AUTO') |
| 4778 @DocsEditable() | 4834 @DocsEditable() |
| 4779 static const int RENDERING_INTENT_AUTO = 1; | 4835 static const int RENDERING_INTENT_AUTO = 1; |
| 4780 | 4836 |
| 4781 @DomName('SVGRenderingIntent.RENDERING_INTENT_PERCEPTUAL') | 4837 @DomName('SVGRenderingIntent.RENDERING_INTENT_PERCEPTUAL') |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4889 } | 4945 } |
| 4890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4891 // for details. All rights reserved. Use of this source code is governed by a | 4947 // for details. All rights reserved. Use of this source code is governed by a |
| 4892 // BSD-style license that can be found in the LICENSE file. | 4948 // BSD-style license that can be found in the LICENSE file. |
| 4893 | 4949 |
| 4894 | 4950 |
| 4895 @DocsEditable() | 4951 @DocsEditable() |
| 4896 @DomName('SVGStringList') | 4952 @DomName('SVGStringList') |
| 4897 @Unstable() | 4953 @Unstable() |
| 4898 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements List native "SVGStringList" { | 4954 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements List native "SVGStringList" { |
| 4955 // To suppress missing implicit constructor warnings. |
| 4956 factory StringList._() { throw new UnsupportedError("Not supported"); } |
| 4899 | 4957 |
| 4900 @DomName('SVGStringList.numberOfItems') | 4958 @DomName('SVGStringList.numberOfItems') |
| 4901 @DocsEditable() | 4959 @DocsEditable() |
| 4902 final int numberOfItems; | 4960 final int numberOfItems; |
| 4903 | 4961 |
| 4904 String operator[](int index) { | 4962 String operator[](int index) { |
| 4905 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 4963 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 4906 index, index, length)) | 4964 index, index, length)) |
| 4907 throw new RangeError.range(index, 0, length); | 4965 throw new RangeError.range(index, 0, length); |
| 4908 return this.getItem(index); | 4966 return this.getItem(index); |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5524 } | 5582 } |
| 5525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5526 // for details. All rights reserved. Use of this source code is governed by a | 5584 // for details. All rights reserved. Use of this source code is governed by a |
| 5527 // BSD-style license that can be found in the LICENSE file. | 5585 // BSD-style license that can be found in the LICENSE file. |
| 5528 | 5586 |
| 5529 | 5587 |
| 5530 @DocsEditable() | 5588 @DocsEditable() |
| 5531 @DomName('SVGTests') | 5589 @DomName('SVGTests') |
| 5532 @Unstable() | 5590 @Unstable() |
| 5533 abstract class Tests extends Interceptor { | 5591 abstract class Tests extends Interceptor { |
| 5592 // To suppress missing implicit constructor warnings. |
| 5593 factory Tests._() { throw new UnsupportedError("Not supported"); } |
| 5534 | 5594 |
| 5535 StringList requiredExtensions; | 5595 StringList requiredExtensions; |
| 5536 | 5596 |
| 5537 StringList requiredFeatures; | 5597 StringList requiredFeatures; |
| 5538 | 5598 |
| 5539 StringList systemLanguage; | 5599 StringList systemLanguage; |
| 5540 | 5600 |
| 5541 bool hasExtension(String extension); | 5601 bool hasExtension(String extension); |
| 5542 } | 5602 } |
| 5543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5764 } | 5824 } |
| 5765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5766 // for details. All rights reserved. Use of this source code is governed by a | 5826 // for details. All rights reserved. Use of this source code is governed by a |
| 5767 // BSD-style license that can be found in the LICENSE file. | 5827 // BSD-style license that can be found in the LICENSE file. |
| 5768 | 5828 |
| 5769 | 5829 |
| 5770 @DocsEditable() | 5830 @DocsEditable() |
| 5771 @DomName('SVGTransform') | 5831 @DomName('SVGTransform') |
| 5772 @Unstable() | 5832 @Unstable() |
| 5773 class Transform extends Interceptor native "SVGTransform" { | 5833 class Transform extends Interceptor native "SVGTransform" { |
| 5834 // To suppress missing implicit constructor warnings. |
| 5835 factory Transform._() { throw new UnsupportedError("Not supported"); } |
| 5774 | 5836 |
| 5775 @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') | 5837 @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') |
| 5776 @DocsEditable() | 5838 @DocsEditable() |
| 5777 static const int SVG_TRANSFORM_MATRIX = 1; | 5839 static const int SVG_TRANSFORM_MATRIX = 1; |
| 5778 | 5840 |
| 5779 @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') | 5841 @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') |
| 5780 @DocsEditable() | 5842 @DocsEditable() |
| 5781 static const int SVG_TRANSFORM_ROTATE = 4; | 5843 static const int SVG_TRANSFORM_ROTATE = 4; |
| 5782 | 5844 |
| 5783 @DomName('SVGTransform.SVG_TRANSFORM_SCALE') | 5845 @DomName('SVGTransform.SVG_TRANSFORM_SCALE') |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5838 } | 5900 } |
| 5839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5840 // for details. All rights reserved. Use of this source code is governed by a | 5902 // for details. All rights reserved. Use of this source code is governed by a |
| 5841 // BSD-style license that can be found in the LICENSE file. | 5903 // BSD-style license that can be found in the LICENSE file. |
| 5842 | 5904 |
| 5843 | 5905 |
| 5844 @DocsEditable() | 5906 @DocsEditable() |
| 5845 @DomName('SVGTransformList') | 5907 @DomName('SVGTransformList') |
| 5846 @Unstable() | 5908 @Unstable() |
| 5847 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List native "SVGTransformList" { | 5909 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List native "SVGTransformList" { |
| 5910 // To suppress missing implicit constructor warnings. |
| 5911 factory TransformList._() { throw new UnsupportedError("Not supported"); } |
| 5848 | 5912 |
| 5849 @DomName('SVGTransformList.numberOfItems') | 5913 @DomName('SVGTransformList.numberOfItems') |
| 5850 @DocsEditable() | 5914 @DocsEditable() |
| 5851 final int numberOfItems; | 5915 final int numberOfItems; |
| 5852 | 5916 |
| 5853 Transform operator[](int index) { | 5917 Transform operator[](int index) { |
| 5854 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 5918 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 5855 index, index, length)) | 5919 index, index, length)) |
| 5856 throw new RangeError.range(index, 0, length); | 5920 throw new RangeError.range(index, 0, length); |
| 5857 return this.getItem(index); | 5921 return this.getItem(index); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5935 } | 5999 } |
| 5936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6000 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5937 // for details. All rights reserved. Use of this source code is governed by a | 6001 // for details. All rights reserved. Use of this source code is governed by a |
| 5938 // BSD-style license that can be found in the LICENSE file. | 6002 // BSD-style license that can be found in the LICENSE file. |
| 5939 | 6003 |
| 5940 | 6004 |
| 5941 @DocsEditable() | 6005 @DocsEditable() |
| 5942 @DomName('SVGUnitTypes') | 6006 @DomName('SVGUnitTypes') |
| 5943 @Unstable() | 6007 @Unstable() |
| 5944 class UnitTypes extends Interceptor native "SVGUnitTypes" { | 6008 class UnitTypes extends Interceptor native "SVGUnitTypes" { |
| 6009 // To suppress missing implicit constructor warnings. |
| 6010 factory UnitTypes._() { throw new UnsupportedError("Not supported"); } |
| 5945 | 6011 |
| 5946 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') | 6012 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') |
| 5947 @DocsEditable() | 6013 @DocsEditable() |
| 5948 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; | 6014 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
| 5949 | 6015 |
| 5950 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') | 6016 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') |
| 5951 @DocsEditable() | 6017 @DocsEditable() |
| 5952 static const int SVG_UNIT_TYPE_UNKNOWN = 0; | 6018 static const int SVG_UNIT_TYPE_UNKNOWN = 0; |
| 5953 | 6019 |
| 5954 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') | 6020 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') |
| 5955 @DocsEditable() | 6021 @DocsEditable() |
| 5956 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; | 6022 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
| 5957 } | 6023 } |
| 5958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5959 // for details. All rights reserved. Use of this source code is governed by a | 6025 // for details. All rights reserved. Use of this source code is governed by a |
| 5960 // BSD-style license that can be found in the LICENSE file. | 6026 // BSD-style license that can be found in the LICENSE file. |
| 5961 | 6027 |
| 5962 | 6028 |
| 5963 @DocsEditable() | 6029 @DocsEditable() |
| 5964 @DomName('SVGURIReference') | 6030 @DomName('SVGURIReference') |
| 5965 @Unstable() | 6031 @Unstable() |
| 5966 abstract class UriReference extends Interceptor { | 6032 abstract class UriReference extends Interceptor { |
| 6033 // To suppress missing implicit constructor warnings. |
| 6034 factory UriReference._() { throw new UnsupportedError("Not supported"); } |
| 5967 | 6035 |
| 5968 AnimatedString href; | 6036 AnimatedString href; |
| 5969 } | 6037 } |
| 5970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5971 // for details. All rights reserved. Use of this source code is governed by a | 6039 // for details. All rights reserved. Use of this source code is governed by a |
| 5972 // BSD-style license that can be found in the LICENSE file. | 6040 // BSD-style license that can be found in the LICENSE file. |
| 5973 | 6041 |
| 5974 | 6042 |
| 5975 @DocsEditable() | 6043 @DocsEditable() |
| 5976 @DomName('SVGUseElement') | 6044 @DomName('SVGUseElement') |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6093 } | 6161 } |
| 6094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6095 // for details. All rights reserved. Use of this source code is governed by a | 6163 // for details. All rights reserved. Use of this source code is governed by a |
| 6096 // BSD-style license that can be found in the LICENSE file. | 6164 // BSD-style license that can be found in the LICENSE file. |
| 6097 | 6165 |
| 6098 | 6166 |
| 6099 @DocsEditable() | 6167 @DocsEditable() |
| 6100 @DomName('SVGViewSpec') | 6168 @DomName('SVGViewSpec') |
| 6101 @Unstable() | 6169 @Unstable() |
| 6102 class ViewSpec extends Interceptor implements FitToViewBox native "SVGViewSpec"
{ | 6170 class ViewSpec extends Interceptor implements FitToViewBox native "SVGViewSpec"
{ |
| 6171 // To suppress missing implicit constructor warnings. |
| 6172 factory ViewSpec._() { throw new UnsupportedError("Not supported"); } |
| 6103 | 6173 |
| 6104 @DomName('SVGViewSpec.preserveAspectRatioString') | 6174 @DomName('SVGViewSpec.preserveAspectRatioString') |
| 6105 @DocsEditable() | 6175 @DocsEditable() |
| 6106 final String preserveAspectRatioString; | 6176 final String preserveAspectRatioString; |
| 6107 | 6177 |
| 6108 @DomName('SVGViewSpec.transform') | 6178 @DomName('SVGViewSpec.transform') |
| 6109 @DocsEditable() | 6179 @DocsEditable() |
| 6110 final TransformList transform; | 6180 final TransformList transform; |
| 6111 | 6181 |
| 6112 @DomName('SVGViewSpec.transformString') | 6182 @DomName('SVGViewSpec.transformString') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6144 } | 6214 } |
| 6145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6146 // for details. All rights reserved. Use of this source code is governed by a | 6216 // for details. All rights reserved. Use of this source code is governed by a |
| 6147 // BSD-style license that can be found in the LICENSE file. | 6217 // BSD-style license that can be found in the LICENSE file. |
| 6148 | 6218 |
| 6149 | 6219 |
| 6150 @DocsEditable() | 6220 @DocsEditable() |
| 6151 @DomName('SVGZoomAndPan') | 6221 @DomName('SVGZoomAndPan') |
| 6152 @Unstable() | 6222 @Unstable() |
| 6153 abstract class ZoomAndPan extends Interceptor { | 6223 abstract class ZoomAndPan extends Interceptor { |
| 6224 // To suppress missing implicit constructor warnings. |
| 6225 factory ZoomAndPan._() { throw new UnsupportedError("Not supported"); } |
| 6154 | 6226 |
| 6155 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') | 6227 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') |
| 6156 @DocsEditable() | 6228 @DocsEditable() |
| 6157 static const int SVG_ZOOMANDPAN_DISABLE = 1; | 6229 static const int SVG_ZOOMANDPAN_DISABLE = 1; |
| 6158 | 6230 |
| 6159 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') | 6231 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') |
| 6160 @DocsEditable() | 6232 @DocsEditable() |
| 6161 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; | 6233 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; |
| 6162 | 6234 |
| 6163 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') | 6235 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6200 } | 6272 } |
| 6201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6202 // for details. All rights reserved. Use of this source code is governed by a | 6274 // for details. All rights reserved. Use of this source code is governed by a |
| 6203 // BSD-style license that can be found in the LICENSE file. | 6275 // BSD-style license that can be found in the LICENSE file. |
| 6204 | 6276 |
| 6205 | 6277 |
| 6206 @DocsEditable() | 6278 @DocsEditable() |
| 6207 @DomName('SVGElementInstanceList') | 6279 @DomName('SVGElementInstanceList') |
| 6208 @Unstable() | 6280 @Unstable() |
| 6209 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements List native "SVGElementInstanceLi
st" { | 6281 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements List native "SVGElementInstanceLi
st" { |
| 6282 // To suppress missing implicit constructor warnings. |
| 6283 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported")
; } |
| 6210 | 6284 |
| 6211 @DomName('SVGElementInstanceList.length') | 6285 @DomName('SVGElementInstanceList.length') |
| 6212 @DocsEditable() | 6286 @DocsEditable() |
| 6213 int get length => JS("int", "#.length", this); | 6287 int get length => JS("int", "#.length", this); |
| 6214 | 6288 |
| 6215 ElementInstance operator[](int index) { | 6289 ElementInstance operator[](int index) { |
| 6216 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 6290 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 6217 index, index, length)) | 6291 index, index, length)) |
| 6218 throw new RangeError.range(index, 0, length); | 6292 throw new RangeError.range(index, 0, length); |
| 6219 return this.item(index); | 6293 return this.item(index); |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6720 @DomName('SVGVKernElement.SVGVKernElement') | 6794 @DomName('SVGVKernElement.SVGVKernElement') |
| 6721 @DocsEditable() | 6795 @DocsEditable() |
| 6722 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 6796 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6723 /** | 6797 /** |
| 6724 * Constructor instantiated by the DOM when a custom element has been created. | 6798 * Constructor instantiated by the DOM when a custom element has been created. |
| 6725 * | 6799 * |
| 6726 * This can only be called by subclasses from their created constructor. | 6800 * This can only be called by subclasses from their created constructor. |
| 6727 */ | 6801 */ |
| 6728 _SVGVKernElement.created() : super.created(); | 6802 _SVGVKernElement.created() : super.created(); |
| 6729 } | 6803 } |
| OLD | NEW |