@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
44 lines (42 loc) • 1.51 kB
TypeScript
import type Color from "../../Color.js";
import type { ColorLike } from "../../Color.js";
import type { JSONSupport } from "../../core/JSONSupport.js";
/** @since 5.0 */
export interface Symbol3DHaloProperties {
/**
* The color of the halo.
* This can be autocast with an array of rgb(a) values, named string, hex string or an hsl(a) string,
* an object with `r`, `g`, `b`, and `a` properties, or a [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
*
* @since 5.0
*/
color?: ColorLike | null;
/**
* The size of the halo in points. This value may be autocast with a string
* expressing size in points or pixels (e.g. `12px`).
*
* @since 5.0
*/
size?: number | string;
}
/** @since 5.0 */
export default class Symbol3DHalo extends JSONSupport {
constructor(properties?: Symbol3DHaloProperties);
/**
* The color of the halo.
* This can be autocast with an array of rgb(a) values, named string, hex string or an hsl(a) string,
* an object with `r`, `g`, `b`, and `a` properties, or a [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
*
* @since 5.0
*/
get color(): Color | null | undefined;
set color(value: ColorLike | null | undefined);
/**
* The size of the halo in points. This value may be autocast with a string
* expressing size in points or pixels (e.g. `12px`).
*
* @since 5.0
*/
get size(): number;
set size(value: number | string);
}