版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SVGLength.d.ts 840 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * SVG length.
  3. *
  4. * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGLength
  5. */
  6. export default class SVGLength {
  7. static SVG_LENGTHTYPE_UNKNOWN: number;
  8. static SVG_LENGTHTYPE_NUMBER: number;
  9. static SVG_LENGTHTYPE_PERCENTAGE: number;
  10. static SVG_LENGTHTYPE_EMS: number;
  11. static SVG_LENGTHTYPE_EXS: number;
  12. static SVG_LENGTHTYPE_PX: number;
  13. static SVG_LENGTHTYPE_CM: number;
  14. static SVG_LENGTHTYPE_MM: number;
  15. static SVG_LENGTHTYPE_IN: number;
  16. static SVG_LENGTHTYPE_PT: number;
  17. static SVG_LENGTHTYPE_PC: number;
  18. unitType: string;
  19. value: number;
  20. valueInSpecifiedUnits: number;
  21. valueAsString: string;
  22. /**
  23. * New value specific units.
  24. */
  25. newValueSpecifiedUnits(): void;
  26. /**
  27. * Convert to specific units.
  28. */
  29. convertToSpecifiedUnits(): void;
  30. }