PolylineElement.d.ts 543 B

12345678910111213
  1. import { RenderingContext2D } from '../types';
  2. import Point from '../Point';
  3. import BoundingBox from '../BoundingBox';
  4. import Document from './Document';
  5. import PathElement, { Marker } from './PathElement';
  6. export default class PolylineElement extends PathElement {
  7. type: string;
  8. protected readonly points: Point[];
  9. constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
  10. path(ctx: RenderingContext2D): BoundingBox;
  11. getMarkers(): Marker[];
  12. }
  13. //# sourceMappingURL=PolylineElement.d.ts.map