版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

18 řádky
468 B

  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;