77a88fa1ca4a42336d38c237c9533779d5ba5fa296b96a66b94a5c4454f08903dac9a1dc30e8a1831d5f065e390e7567021bbbfd6997e1d8cd7df8ccee20d2 468 B

1234567891011121314151617
  1. import Path, { PathProps } from '../Path';
  2. export declare class IsogonShape {
  3. x: number;
  4. y: number;
  5. r: number;
  6. n: number;
  7. }
  8. export interface IsogonProps extends PathProps {
  9. shape?: Partial<IsogonShape>;
  10. }
  11. declare class Isogon extends Path<IsogonProps> {
  12. shape: IsogonShape;
  13. constructor(opts?: IsogonProps);
  14. getDefaultShape(): IsogonShape;
  15. buildPath(ctx: CanvasRenderingContext2D, shape: IsogonShape): void;
  16. }
  17. export default Isogon;