All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.lib.graphic.shape.Star.d.ts Maven / Gradle / Ivy

The newest version!
import Path, { PathProps } from '../Path';
export declare class StarShape {
    cx: number;
    cy: number;
    n: number;
    r0: number;
    r: number;
}
export interface StarProps extends PathProps {
    shape?: Partial;
}
declare class Star extends Path {
    shape: StarShape;
    constructor(opts?: StarProps);
    getDefaultShape(): StarShape;
    buildPath(ctx: CanvasRenderingContext2D, shape: StarShape): void;
}
export default Star;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy