版博士V2.0程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

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