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

18 строки
482 B

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