版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

45 righe
1.1 KiB

  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. const SVGElement_1 = __importDefault(require("./SVGElement"));
  7. const DOMRect_1 = __importDefault(require("../element/DOMRect"));
  8. const DOMMatrix_1 = __importDefault(require("./DOMMatrix"));
  9. /**
  10. * SVG Graphics Element.
  11. *
  12. * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement
  13. */
  14. class SVGGraphicsElement extends SVGElement_1.default {
  15. constructor() {
  16. super(...arguments);
  17. this.transform = {};
  18. }
  19. /**
  20. * Returns DOM rect.
  21. *
  22. * @returns DOM rect.
  23. */
  24. getBBox() {
  25. return new DOMRect_1.default();
  26. }
  27. /**
  28. * Returns CTM.
  29. *
  30. * @returns CTM.
  31. */
  32. getCTM() {
  33. return new DOMMatrix_1.default();
  34. }
  35. /**
  36. * Returns screen CTM.
  37. *
  38. * @returns Screen CTM.
  39. */
  40. getScreenCTM() {
  41. return new DOMMatrix_1.default();
  42. }
  43. }
  44. exports.default = SVGGraphicsElement;
  45. //# sourceMappingURL=SVGGraphicsElement.js.map