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

18 строки
451 B

  1. import Path, { PathProps } from '../Path';
  2. export declare class RingShape {
  3. cx: number;
  4. cy: number;
  5. r: number;
  6. r0: number;
  7. }
  8. export interface RingProps extends PathProps {
  9. shape?: Partial<RingShape>;
  10. }
  11. declare class Ring extends Path<RingProps> {
  12. shape: RingShape;
  13. constructor(opts?: RingProps);
  14. getDefaultShape(): RingShape;
  15. buildPath(ctx: CanvasRenderingContext2D, shape: RingShape): void;
  16. }
  17. export default Ring;