package.lib.graphic.shape.Star.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zrender Show documentation
Show all versions of zrender Show documentation
A lightweight graphic library providing 2d draw for Apache ECharts
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