版博士V2.0程序
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

24 linhas
606 B

  1. import Path, { PathProps } from '../Path';
  2. export declare class TrochoidShape {
  3. cx: number;
  4. cy: number;
  5. r: number;
  6. r0: number;
  7. d: number;
  8. location: string;
  9. }
  10. export interface TrochoidProps extends PathProps {
  11. shape?: Partial<TrochoidShape>;
  12. }
  13. declare class Trochoid extends Path<TrochoidProps> {
  14. shape: TrochoidShape;
  15. constructor(opts?: TrochoidProps);
  16. getDefaultStyle(): {
  17. stroke: string;
  18. fill: string;
  19. };
  20. getDefaultShape(): TrochoidShape;
  21. buildPath(ctx: CanvasRenderingContext2D, shape: TrochoidShape): void;
  22. }
  23. export default Trochoid;