UseElement.d.ts 621 B

123456789101112131415
  1. import { RenderingContext2D } from '../types';
  2. import Transform from '../Transform';
  3. import RenderedElement from './RenderedElement';
  4. import PathElement from './PathElement';
  5. export default class UseElement extends RenderedElement {
  6. type: string;
  7. private cachedElement;
  8. setContext(ctx: RenderingContext2D): void;
  9. path(ctx: RenderingContext2D): void;
  10. renderChildren(ctx: RenderingContext2D): void;
  11. getBoundingBox(ctx: RenderingContext2D): import("..").BoundingBox;
  12. elementTransform(): Transform;
  13. protected get element(): PathElement;
  14. }
  15. //# sourceMappingURL=UseElement.d.ts.map