GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaScript.Chart/Scripts/gauges.d.ts at master · MindFusionComponents/JavaScript.Chart Expand file tree/ Copy pathgauges.d.tsMore file actions 2063 lines (2063 loc) · 74.5 KB / Copy pathgauges.d.tsFile metadata and controls2063 lines (2063 loc) · 74.5 KB 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 /// <reference types="../../@mindfusion/drawing" /> /// <reference types="../../@mindfusion/controls" /> declare module "Gauges/Segment" { /** * @class Represents a segment of a PathFigure object. */ export class Segment { set isStroked(arg: boolean); /** * Gets or sets a value that indicates whether the segment is stroked. * @type {Boolean} * @summary True if the segment is stroked, otherwise false. */ get isStroked(): boolean; /** * Adds the segment to the specified graphics path. */ addTo(path: any, startPoint: any, isOutline: any): void; _isStroked: boolean; } export class LineSegment extends Segment { /** * Creates an instance of LineSegment class. * @constructor * @class Represents a line between two points. */ constructor(point: any, isStroked: any); set point(arg: Point); /** * Gets or sets the end point of the line segment. * @type {Point} * @summary The end point of the line segment. */ get point(): Point; _point: Point; } export class ArcSegment extends Segment { /** * Creates an instance of ArcSegment class. * @constructor * @class Represents an elliptical arc between two points. */ constructor(point: any, size: any, rotationAngle: any, isLargeArc: any, isCounterclockwise: any, isStroked: any); set point(arg: Point); /** * Gets or sets the endpoint of the elliptical arc. * @type {Point} * @summary The endpoint of the elliptical arc. */ get point(): Point; set size(arg: any); /** * Gets or sets the x- and y-radius of the arc as a Size structure. * @type {Size} * @summary The x- and y-radius of the arc as a Size structure. */ get size(): any; set rotationAngle(arg: number); /** * Gets or sets the amount (in degrees) by which the ellipse is rotated about the x-axis. * @type {Number} * @summary The amount (in degrees) by which the ellipse is rotated about the x-axis. */ get rotationAngle(): number; set isLargeArc(arg: boolean); /** * Gets or sets a value that indicates whether the arc should be greater than 180 degrees. * @type {Boolean} * @summary True if the arc should be greater than 180 degrees, otherwise false. */ get isLargeArc(): boolean; set isCounterclockwise(arg: boolean); /** * Gets or sets a value that indicates whether the arc is drawn in counterclockwise or clockwise direction. * @type {Boolean} * @summary True if the arc is drawn in counterclockwise, otherwise false. */ get isCounterclockwise(): boolean; getArcParams(pt1: any, pt2: any, isLargeArc: any, isCounterclockwise: any, radiusX: any, radiusY: any, angleRotation: any): (number | Point)[]; _point: Point; _size: any; _rotationAngle: number; _isLargeArc: boolean; _isCounterclockwise: boolean; } import { Point } from "@mindfusion/drawing"; } declare module "Gauges/EventArgs" { /** * @class Provides data for the various custom painting event. */ export class PaintEventArgs extends EventArgs { /** * Creates an instance of PaintEventArgs class. * @constructor */ constructor(args: any); _context: any; _element: any; /** * Paints the specified visual element to the underlying canvas. * @param {VisualElement} element The VisualElement to paint. * @param {Size} constraint The available size. */ paintVisualElement(element: VisualElement, constraint: any): void; set element(arg: VisualElement); /** * Gets or sets the element being custom drawn. * @type {VisualElement} * @summary A VisualElement instance. */ get element(): VisualElement; /** * Gets the canvas rendering context. * @type {CanvasRenderingContext2D} * @summary A rendering context used to draw on the Canvas element. */ get context(): CanvasRenderingContext2D; } /** * @class Provides data for various pre-paint events. */ export class PrepaintEventArgs extends PaintEventArgs { set cancelDefaultPainting(arg: boolean); /** * Gets or sets a value indicating whether the default painting of this element should be performed. * @type {Boolean} * @summary true if the default painting of this element should be performed; otherwise, false. */ get cancelDefaultPainting(): boolean; _cancelDefaultPainting: boolean; } /** * @class Contains the arguments passed to value changing notification handlers. */ export class ValueChangingEventArgs extends CancelEventArgs { /** * Creates an instance of ValueChangingEventArgs class. * @constructor */ constructor(oldValue: any, newValue: any); _oldValue: any; _newValue: any; /** * Gets the previous value of the changing property. * @type {Object} * @summary The previous value of the changing property. */ get oldValue(): any; /** * Gets the new value of the changing property. * @type {Object} * @summary The new value of the changing property. */ get newValue(): any; } /** * @class Contains the arguments passed to value changed notification handlers. */ export class ValueChangedEventArgs extends EventArgs { /** * Creates an instance of ValueChangedEventArgs class. * @constructor */ constructor(oldValue: any, newValue: any); _oldValue: any; _newValue: any; /** * Gets the previous value of the changed property. * @type {Object} * @summary The previous value of the changed property. */ get oldValue(): any; /** * Gets the new value of the changed property. * @type {Object} * @summary The new value of the changed property. */ get newValue(): any; } import { EventArgs } from "@mindfusion/controls"; import { VisualElement } from "Gauges/LoadOrder"; import { CancelEventArgs } from "@mindfusion/controls"; } declare module "Gauges/Utils" { /** * @class Contains helper functions. */ export class Utils { /** * Creates a linear gradient brush with the specified data. * @returns {Object} The brush. */ static createLinearGradient(angle: any, params: any): any; /** * Creates a radial gradient brush with the specified data. * @returns {Object} The brush. */ static createRadialGradient(center: any, radius: any, params: any, center2: any, radius2: any): any; static offset(p: any, x: any, y: any): Point; static log10(value: any): number; static getBrush(context: any, brush: any, bounds: any, isPen: any): any; } export namespace Utils { const tm: number[]; const tm10: number[]; const tm11: number[]; } import { Point } from "@mindfusion/drawing"; } declare module "Gauges/Events" { /** * @namespace MindFusion.Gauges */ /** * @class Defines all events raised by the Gauge component. */ export class Events { static get prepaint(): string; /** * Raised before the gauge background is painted. * @type {String} * @summary A string containing the event name. */ static get prepaintBackground(): string; /** * Raised before the gauge foreground is painted. * @type {String} * @summary A string containing the event name. */ static get prepaintForeground(): string; /** * Raised before a gauge scale is painted. * @type {String} * @summary A string containing the event name. */ static get prepaintScale(): string; /** * Raised before a gauge tick is painted. * @type {String} * @summary A string containing the event name. */ static get prepaintTick(): string; /** * Raised before a gauge pointer is painted. * @type {String} * @summary A string containing the event name. */ static get prepaintPointer(): string; static get paint(): string; /** * Raised when the gauge background is being painted. * @type {String} * @summary A string containing the event name. */ static get paintBackground(): string; /** * Raised when the gauge foreground is being painted. * @type {String} * @summary A string containing the event name. */ static get paintForeground(): string; /** * Raised when a gauge scale is being painted. * @type {String} * @summary A string containing the event name. */ static get paintScale(): string; /** * Raised when a gauge tick is being painted. * @type {String} * @summary A string containing the event name. */ static get paintTick(): string; /** * Raised when a gauge pointer is being painted. * @type {String} * @summary A string containing the event name. */ static get paintPointer(): string; /** * Raised when the value of a pointer has changed interactively. * @type {String} * @summary A string containing the event name. */ static get valueChanging(): string; /** * Raised when the value of a pointer is being changed interactively. * @type {String} * @summary A string containing the event name. */ static get valueChanged(): string; } } declare module "Gauges/VisualElement" { export default VisualElement; /** * @class Represents an object with outline and fill, which can render itself to a canvas. */ class VisualElement { type: string; /** * @private */ private set width(arg); /** * @private */ private get width(); /** * @private */ private set height(arg); /** * @private */ private get height(); set x(arg: number); /** * Gets or sets the normalized x position of this element, relative to its parent. * @type {Number} * @summary The normalized x position of this element, relative to its parent. */ get x(): number; set y(arg: number); /** * Gets or sets the normalized y position of this element, relative to its parent. * @type {Number} * @summary The normalized y position of this element, relative to its parent. */ get y(): number; set isVisible(arg: boolean); /** * Gets or sets a value indicating whether this element is visible. * @type {Boolean} * @summary True if the element is visible, otherwise false. */ get isVisible(): boolean; set relativeCoordinates(arg: boolean); /** * Gets or sets a value indicating whether the metrics of this element are expressed as relative or absolute quantities. * @type {Boolean} * @summary True if the metrics are relative, otherwise false. */ get relativeCoordinates(): boolean; set fill(arg: any); /** * Gets or sets the fill of this element. * @type {Object} * @summary The fill of this element. */ get fill(): any; set stroke(arg: any); /** * Gets or sets the stroke of this element. * @type {Object} * @summary The stroke of this element. */ get stroke(): any; offsetX: number; offsetY: number; eventHandlers: Map<any, any>; getType(): any; fromJson(obj: any): void; set name(arg: string); /** * Gets or sets the name of this element. * @type {String} * @summary The name of this element. * @remarks The name can be used to obtain a reference to the element through a call to the getElementByName method. */ get name(): string; set margin(arg: Thickness); /** * Gets or sets the margin of this element. * @type {Thickness} * @summary The margin of this element. */ get margin(): Thickness; toJson(): { __type: any; fill: any; stroke: any; name: string; x: number; y: number; width: any; height: any; margin: Thickness; relativeCoordinates: boolean; }; repaint(context: any): void; set outline(arg: any); get outline(): any; raisePrepaint(context: any): boolean; raisePostpaint(context: any): void; measure(size: any): void; measureOverride(size: any): any; /** * @private */ private set desiredSize(arg); /** * @private */ private get desiredSize(); arrange(): void; /** * @private */ private set transform(arg); /** * @private */ private get transform(); arrangeOverride(): void; createPath(): any; applyTransform(context: any, applyRelativeScale: any): any; toLocal(parentCoordinates: any): Point; getElementByName(name: any): VisualElement; handleMouse(): void; containsPoint(point: any): void; raiseEvent(eventName: any, args: any): void; _name: string; _outline: any; _fill: any; /** * @private */ private get defaultFill(); _stroke: any; /** * @private */ private get defaultStroke(); _isVisible: boolean; _margin: Thickness; _x: number; _y: number; set bounds(arg: Rect); /** * Gets or sets the bounding rectangle of this element. * @type {Rect} * @summary The bounding rectangle of this element. */ get bounds(): Rect; /** * Gets the size of this element. * @returns {Size} The size of this element. */ getSize(): Size; _width: any; _height: any; _relativeCoordinates: boolean; set renderSize(arg: Size); /** * Gets or sets the rendering size of the element. * @type {Size} * @summary The rendering size of the element. */ get renderSize(): Size; _renderSize: Size; _desiredSize: any; _transform: any; /** * @private */ private set strokeThickness(arg); _strokeThickness: any; } import { Thickness } from "@mindfusion/drawing"; import { Point } from "@mindfusion/drawing"; import { Rect } from "@mindfusion/drawing"; import { Size } from "@mindfusion/drawing"; } declare module "Gauges/VisualElementContainer" { /** * @private */ export class PointerContainer extends VisualElementContainer { } /** * @class Represents a container which centers its children and makes them with square size. */ export class CenterPanel extends VisualElementContainer { size: number; measureSize: any; } export default VisualElementContainer; /** * @class Represents a visual element which contains other visual elements. */ class VisualElementContainer extends VisualElement { static arrangeChild(element: any, size: any): Rect; children: any[]; set isHitTestVisible(arg: any); get isHitTestVisible(): any; _isHitTestVisible: any; } import { VisualElement } from "Gauges/LoadOrder"; import { Rect } from "@mindfusion/drawing"; } declare module "Gauges/Enum" { /** * Specifies the orientation of elements. */ export type Orientation = number; export namespace Orientation { const Horizontal: number; const Vertical: number; } /** * Indicates an alignment of an object relative to the scale. In the descriptions * below 'outbound' refers to an element's outer outline, 'inbound' refers to an * element's inner outline and 'center' refers to en element's center, that is, * the middle of the inbound and outbound. */ export type Alignment = number; export namespace Alignment { const InnerInside: number; const InnerCenter: number; const InnerOutside: number; const OuterInside: number; const OuterCenter: number; const OuterOutside: number; const CenterInside: number; const TrueCenter: number; const CenterOutside: number; } /** * Indicates the type of the units of a Length object. */ export type LengthType = number; export namespace LengthType { const Absolute: number; const Relative: number; } /** * Specifies a display condition. */ export type DisplayType = number; export namespace DisplayType { const Auto: number; const Always: number; const Never: number; } /** * Indicates the type of a scale tick. */ export type TickType = number; export namespace TickType { const None: number; const Major: number; const Middle: number; const Minor: number; } /** * Indicates the shape of a scale tick. */ export type TickShape = number; export namespace TickShape { const None_1: number; export { None_1 as None }; export const Custom: number; export const Ellipse: number; export const Rectangle: number; export const RoundRect: number; export const Rhombus: number; export const Line: number; export const Triangle: number; export const Arrow1: number; export const Arrow2: number; export const Arrow3: number; } /** * Indicates the type of function that will be used to distribute values along the gauge scale. */ export type FunctionType = number; export namespace FunctionType { export const Linear: number; export const Logarithmic: number; const Custom_1: number; export { Custom_1 as Custom }; } /** * Indicates the rotation of a label within a scale. */ export type LabelRotation = number; export namespace LabelRotation { const None_2: number; export { None_2 as None }; const Auto_1: number; export { Auto_1 as Auto }; export const BaselineToCenter: number; export const BaselineAwayFromCenter: number; export const Sideways: number; } /** * Indicates the shape of a pointer. */ export type PointerShape = number; export namespace PointerShape { const None_3: number; export { None_3 as None }; const Custom_2: number; export { Custom_2 as Custom }; export const Needle: number; export const Needle2: number; const Ellipse_1: number; export { Ellipse_1 as Ellipse }; const Rectangle_1: number; export { Rectangle_1 as Rectangle }; } /** * Specifies an action performed with the mouse. */ export type MouseAction = number; export namespace MouseAction { const Up: number; const Down: number; const Move: number; } /** * Specifies the appearance of an oval gauge. */ export type OvalGaugeStyle = number; export namespace OvalGaugeStyle { const Circular: number; const QuadraticNE: number; const QuadraticNW: number; const QuadraticSE: number; const QuadraticSW: number; const SemicircleN: number; const SemicircleE: number; const SemicircleS: number; const SemicircleW: number; } } declare module "Gauges/Length" { /** * @class Specifies distance expressed either absolutely, through pixels, or relatively, through a percentage of the container's size. */ export class Length { /** * Creates an instance of Length class. * @constructor * @param {Number} value A number specifying the initial length value. * @param {LengthType} [type] A member of the LengthType enumeration specifying the length type. */ constructor(value: number, type?: LengthType); set value(arg: number); /** * Gets or sets the value representing this length. * @type {Number} * @summary The value representing this length. */ get value(): number; set type(arg: number); /** * Gets or sets the type of this length. * @type {LengthType} * @summary The type of this length. */ get type(): number; /** * Calculates the absolute length corresponding to the specified argument, relative to the the specified area. */ getAbsoluteLength(space: any): number; _value: number; _type: number; } import { LengthType } from "Gauges/Enum"; } declare module "Gauges/Tick" { /** * @class Represents a tick mark within a gauge scale. */ export class Tick extends VisualElementContainer { /** * Creates an instance of Tick class. * @constructor * @param {TickSettings} settings The TickSettings object associated with this tick. */ constructor(settings: any); /** * @privatefg */ set settings(arg: any); /** * Gets the TickSettings object associated with this tick. * @type {TickSettings} * @summary The TickSettings object associated with this tick. */ get settings(): any; createVisuals(): void; /** * @private */ set value(arg: number); /** * Gets the value associated with this tick. * @type {Number} * @summary The value associated with this tick. */ get value(): number; _value: number; /** * @private */ set rawValue(arg: number); /** * Gets the value associated with this tick before it was processed by any value distribution functions. * @type {Number} * @summary The value associated with this tick before it was processed by any value distribution functions. */ get rawValue(): number; _rawValue: number; _settings: any; } import { VisualElementContainer } from "Gauges/LoadOrder"; } declare module "Gauges/TickLabel" { /** * @class Represents a tick label within a gauge scale. */ export class TickLabel extends VisualElementContainer { /** * Creates an instance of TickLabel class. * @constructor * @param {TickSettings} settings The TickSettings object associated with this label. */ constructor(settings: any); /** * @private */ set settings(arg: any); /** * Gets the TickSettings object associated with this label. * @type {TickSettings} * @summary The TickSettings object associated with this label. */ get settings(): any; fontSize: any; font: Font; getValueAsString(): string; /** * @private */ set value(arg: number); /** * Gets the value associated with this label. * @type {Number} * @summary The value associated with this label. */ get value(): number; _value: number; /** * @private */ set rawValue(arg: number); /** * Gets the value associated with this tick before it was processed by any value distribution functions. * @type {Number} * @summary The value associated with this tick before it was processed by any value distribution functions. */ get rawValue(): number; _rawValue: number; /** * @private */ set foreground(arg: any); /** * Gets the foreground color of this label. * @type {Color} * @summary The foreground color of this label. */ get foreground(): any; _foreground: any; _settings: any; } import { VisualElementContainer } from "Gauges/LoadOrder"; import { Font } from "@mindfusion/drawing"; } declare module "Gauges/Pointer" { /** * @class Represents a needle (or arrow) within a gauge scale. */ export class Pointer extends VisualElementContainer { set alignment(arg: number); /** * Gets or sets the alignment of the pointer relative to the scale. * @type {Alignment} * @summary The alignment of the pointer relative to the scale. * @remarks This property is ignored in oval gauges where the pointer is always pinned to the center of the gauge. */ get alignment(): number; set shape(arg: number); /** * Gets or sets the shape of the pointer. * @type {PointerShape} * @summary The shape of the pointer. */ get shape(): number; set isInteractive(arg: boolean); /** * Gets or sets a value indicating whether the pointer position should be affected by user interactions. * @type {Boolean} * @summary True if the pointer is interactive, otherwise false. */ get isInteractive(): boolean; set isDiscrete(arg: boolean); /** * Gets or sets a value indicating whether the pointer value can be changed only discretely(the pointer Value can be only integer). * @type {Boolean} * @summary True if the pointer is discrete, otherwise false. */ get isDiscrete(): boolean; set pointerOffset(arg: Length); /** * Gets or sets the offset of the pointer along the direction it points to. * @type {Length} * @summary The offset of the pointer along the direction it points to. */ get pointerOffset(): Length; set value(arg: number); /** * Gets or sets the value this pointer points to. * @type {Number} * @summary The value this pointer points to. */ get value(): number; set pointerWidth(arg: Length); /** * Gets or sets the width of the pointer. * @type {Length} * @summary The width of the pointer. */ get pointerWidth(): Length; set pointerHeight(arg: Length); /** * Gets or sets the height of the pointer. * @type {Length} * @summary The height of the pointer. */ get pointerHeight(): Length; set customShape(arg: string); /** * Gets or sets the definition of the pointer shape when Shape is set to Custom. * @type {String} * @summary The definition of the pointer shape when Shape is set to Custom. */ get customShape(): string; createVisuals(): void; discretizeValue(): void; processValueChanged(oldValue: any, newValue: any): void; discretizingValue: boolean; raiseValueChanging(oldValue: any, newValue: any): any; raiseValueChanged(oldValue: any, newValue: any): void; _value: number; _isInteractive: boolean; _pointerWidth: Length; _pointerHeight: Length; _pointerOffset: Length; _alignment: number; _isDiscrete: boolean; _shape: number; customshape: string; } import { VisualElementContainer } from "Gauges/LoadOrder"; import { Length } from "Gauges/Length"; } declare module "Gauges/CustomInterval" { /** * @namespace MindFusion.Gauges */ /** * @class Represents an interval with associated custom values for fill and stroke. */ export class CustomInterval { set minValue(arg: number); /** * Gets or sets the start of this custom interval. * @type {Number} * @summary The start of this custom interval. */ get minValue(): number; set maxValue(arg: number); /** * Gets or sets the end of this custom interval. * @type {Number} * @summary The end of this custom interval. */ get maxValue(): number; /** * Checks whether the specified value falls within this interval. */ contains(value: any): boolean; fromJson(obj: any): void; set fill(arg: any); /** * Gets or sets the brush to apply as a background of the elements within the custom interval. * @type {Object} * @summary The brush to apply as a background of the elements within the custom interval. */ get fill(): any; set stroke(arg: any); /** * Gets or sets the brush to apply as an outline of the elements within the custom interval. * @type {Object} * @summary The brush to apply as an outline of the elements within the custom interval. */ get stroke(): any; toJson(): { minValue: number; maxValue: number; fill: any; stroke: any; foreground: any; }; _minValue: number; _maxValue: number; _fill: any; _stroke: any; set foreground(arg: any); /** * Gets or sets the color to apply as a foreground to the elements within this custom interval. * @type {Object} * @summary The color to apply as a foreground to the elements within this custom interval. */ get foreground(): any; _foreground: any; } } declare module "Gauges/TickSettings" { /** * @class Provides settings for the ticks and labels in a gauge scale. */ export class TickSettings { /** * Creates an instance of TickSettings class. * @constructor * @param {BaseScale} parent The scale these settings belong to. */ constructor(parent: any); parent: any; _count: any; _step: any; _tickWidth: any; _tickHeight: any; _fill: any; _stroke: string; _showTicks: any; _showLabels: any; _labelOffset: Length; _tickOffset: Length; _labelRotation: number; _fontFamily: string; _fontSize: any; _fontStyle: any; _labelForeground: string; _tickAlignment: number; _labelAlignment: number; _tickShape: any; _showMaxValueTick: number; _numberPrecision: number; _customIntervals: any[]; fromJson(obj: any): void; set count(arg: number); /** * Gets or sets the number of ticks and labels. * @type {Number} * @summary The number of ticks and labels. * @remarks This property is mutually exclusive with the Step property. If both are specified the Step property will take precedence. */ get count(): number; set step(arg: number); /** * Gets or sets the value between adjacent ticks and labels. * @type {Number} * @summary The value between adjacent ticks and labels. * @remarks This property is mutually exclusive with the Count property. If both are specified the Step property will take precedence. */ get step(): number; set tickWidth(arg: Length); /** * Gets or sets the width of a tick. * @type {Length} * @summary The width of a tick. */ get tickWidth(): Length; set tickHeight(arg: Length); /** * Gets or sets the height of a tick. * @type {Length} * @summary The height of a tick. */ get tickHeight(): Length; set fill(arg: any); /** * Gets or sets the fill brush of the ticks. |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |