agAngleSelect.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { AgAbstractLabel } from "./agAbstractLabel";
  2. import { DragService } from "../dragAndDrop/dragService";
  3. export declare class AgAngleSelect extends AgAbstractLabel {
  4. private static TEMPLATE;
  5. protected eLabel: HTMLElement;
  6. private eParentCircle;
  7. private eChildCircle;
  8. private eAngleValue;
  9. protected dragService: DragService;
  10. private parentCircleRect;
  11. private degrees;
  12. private radius;
  13. private offsetX;
  14. private offsetY;
  15. private dragListener;
  16. constructor();
  17. postConstruct(): void;
  18. private updateNumberInput;
  19. private positionChildCircle;
  20. private calculatePolar;
  21. private calculateCartesian;
  22. private setOffsetX;
  23. private setOffsetY;
  24. private calculateAngleDrag;
  25. private toDegrees;
  26. private toRadians;
  27. private normalizeNegativeValue;
  28. private normalizeAngle180;
  29. getRadius(): number;
  30. setRadius(r: number): this;
  31. onValueChange(callbackFn: (newValue: number) => void): this;
  32. getValue(radians?: boolean): number;
  33. setValue(degrees: number, radians?: boolean): this;
  34. setWidth(width: number): this;
  35. protected destroy(): void;
  36. }