@amcharts/amcharts5
Version:
amCharts 5
28 lines • 946 B
TypeScript
import { Graphics, IGraphicsSettings, IGraphicsPrivate } from "./Graphics";
export interface IRectangleSettings extends IGraphicsSettings {
/**
* @todo review
* If this is set to `true`, rectangle will be drawn in such a way that its stroke is contained within the rectangle's width and height.
*/
containStroke?: boolean;
}
export interface IRectanglePrivate extends IGraphicsPrivate {
}
/**
* Draws a rectangle.
*
* @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info
* @important
*/
export declare class Rectangle extends Graphics {
_settings: IRectangleSettings;
_privateSettings: IRectanglePrivate;
static className: string;
static classNames: Array<string>;
_afterNew(): void;
_beforeChanged(): void;
_changed(): void;
protected _draw(): void;
_updateSize(): void;
}
//# sourceMappingURL=Rectangle.d.ts.map