版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 год назад
12345678910111213141516171819202122
  1. import Path, { PathProps } from '../Path';
  2. export declare class RoseShape {
  3. cx: number;
  4. cy: number;
  5. r: number[];
  6. k: number;
  7. n: number;
  8. }
  9. export interface RoseProps extends PathProps {
  10. shape?: Partial<RoseShape>;
  11. }
  12. declare class Rose extends Path<RoseProps> {
  13. shape: RoseShape;
  14. constructor(opts?: RoseProps);
  15. getDefaultStyle(): {
  16. stroke: string;
  17. fill: string;
  18. };
  19. getDefaultShape(): RoseShape;
  20. buildPath(ctx: CanvasRenderingContext2D, shape: RoseShape): void;
  21. }
  22. export default Rose;