Node-Red configuration
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.

element.bar.d.ts 877B

1234567891011121314151617181920212223242526272829303132
  1. export default class BarElement extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject> {
  2. static id: string;
  3. /**
  4. * @type {any}
  5. */
  6. static defaults: any;
  7. constructor(cfg: any);
  8. options: any;
  9. horizontal: any;
  10. base: any;
  11. width: any;
  12. height: any;
  13. inflateAmount: any;
  14. draw(ctx: any): void;
  15. inRange(mouseX: any, mouseY: any, useFinalPosition: any): boolean;
  16. inXRange(mouseX: any, useFinalPosition: any): boolean;
  17. inYRange(mouseY: any, useFinalPosition: any): boolean;
  18. getCenterPoint(useFinalPosition: any): {
  19. x: number;
  20. y: number;
  21. };
  22. getRange(axis: any): number;
  23. }
  24. export type BarProps = {
  25. x: number;
  26. y: number;
  27. base: number;
  28. horizontal: boolean;
  29. width: number;
  30. height: number;
  31. };
  32. import Element from "../core/core.element.js";