-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelement.bar.d.ts
More file actions
32 lines (32 loc) · 877 Bytes
/
element.bar.d.ts
File metadata and controls
32 lines (32 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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";