版博士V2.0程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

18 行
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;