You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
455 B
17 lines
455 B
import Path, { PathProps } from '../Path';
|
|
export declare class CircleShape {
|
|
cx: number;
|
|
cy: number;
|
|
r: number;
|
|
}
|
|
export interface CircleProps extends PathProps {
|
|
shape?: Partial<CircleShape>;
|
|
}
|
|
declare class Circle extends Path<CircleProps> {
|
|
shape: CircleShape;
|
|
constructor(opts?: CircleProps);
|
|
getDefaultShape(): CircleShape;
|
|
buildPath(ctx: CanvasRenderingContext2D, shape: CircleShape): void;
|
|
}
|
|
export default Circle;
|