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.
32 lines
877 B
32 lines
877 B
export default class BarElement extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject> { |
|
static id: string; |
|
/** |
|
* @type {any} |
|
*/ |
|
static defaults: any; |
|
constructor(cfg: any); |
|
options: any; |
|
horizontal: any; |
|
base: any; |
|
width: any; |
|
height: any; |
|
inflateAmount: any; |
|
draw(ctx: any): void; |
|
inRange(mouseX: any, mouseY: any, useFinalPosition: any): boolean; |
|
inXRange(mouseX: any, useFinalPosition: any): boolean; |
|
inYRange(mouseY: any, useFinalPosition: any): boolean; |
|
getCenterPoint(useFinalPosition: any): { |
|
x: number; |
|
y: number; |
|
}; |
|
getRange(axis: any): number; |
|
} |
|
export type BarProps = { |
|
x: number; |
|
y: number; |
|
base: number; |
|
horizontal: boolean; |
|
width: number; |
|
height: number; |
|
}; |
|
import Element from "../core/core.element.js";
|
|
|