@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
104 lines (102 loc) • 2.62 kB
TypeScript
import type Accessor from "../../../core/Accessor.js";
/** @since 5.0 */
export interface SketchTooltipVisibleElementsProperties extends Partial<Pick<SketchTooltipVisibleElements, "area" | "coordinates" | "direction" | "distance" | "elevation" | "header" | "helpMessage" | "orientation" | "radius" | "rotation" | "scale" | "size" | "totalLength">> {}
/**
* The elements that are displayed within the tooltip while sketching and editing.
*
* @since 5.0
*/
export default class SketchTooltipVisibleElements extends Accessor {
constructor(properties?: SketchTooltipVisibleElementsProperties);
/**
* When set to `false`, the area is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor area: boolean;
/**
* When set to `false`, the coordinate is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor coordinates: boolean;
/**
* When set to `false`, the direction (or deflection angle) is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor direction: boolean;
/**
* When set to `false`, the distance is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor distance: boolean;
/**
* When set to `false`, the elevation is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor elevation: boolean;
/**
* When set to `false`, the header at the top of the tooltip is not shown, when in input mode.
*
* @default true
* @since 5.0
*/
accessor header: boolean;
/**
* When set to `false`, the help message at the bottom of the tooltip is not shown.
*
* @default false
* @since 5.0
*/
accessor helpMessage: boolean;
/**
* When set to `false`, the orientation is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor orientation: boolean;
/**
* When set to `false`, the radius is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor radius: boolean;
/**
* When set to `false`, the rotation is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor rotation: boolean;
/**
* When set to `false`, the scale is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor scale: boolean;
/**
* When set to `false`, the size is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor size: boolean;
/**
* When set to `false`, the total length is not shown in the tooltip.
*
* @default true
* @since 5.0
*/
accessor totalLength: boolean;
}