版博士V2.0程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

24 rindas
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;