@stringsync/vexml
Version:
MusicXML to Vexflow
24 lines (23 loc) • 552 B
TypeScript
import { Point } from './point';
import { Shape } from './types';
export declare class Circle implements Shape {
/** center x-coordinate */
readonly x: number;
/** center y-coordinate */
readonly y: number;
/** radius */
readonly r: number;
constructor(
/** center x-coordinate */
x: number,
/** center y-coordinate */
y: number,
/** radius */
r: number);
center(): Point;
contains(point: Point): boolean;
left(): number;
right(): number;
top(): number;
bottom(): number;
}