typings.d.ts 793 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. export interface FontType {
  6. color?: string;
  7. fontSize?: number;
  8. fontWeight?: 'normal' | 'light' | 'weight' | number;
  9. fontFamily?: string;
  10. fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
  11. }
  12. export interface MarkStyleType {
  13. zIndex: number;
  14. position: string;
  15. left: string | number;
  16. top: string | number;
  17. width: string;
  18. height: string;
  19. pointerEvents: string;
  20. backgroundRepeat: string;
  21. backgroundPosition?: string;
  22. visibility: string;
  23. }
  24. export interface MarkStyleCanvasType extends MarkStyleType {
  25. backgroundImage: string;
  26. backgroundSize: string;
  27. }