@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
47 lines (44 loc) • 1.1 kB
TypeScript
/**
* SVG utils for Components.
*
* @internal
* @internal
*/
/**
* Calculates and returns the bounding box for a given shape.
*
* @param shape
* @internal
* @internal
*/
export function getBoundingBox(shape: any): any;
/**
* Computes and returns the bounding box that encompasses all given bounding boxes.
*
* @param bboxes
* @internal
* @internal
*/
export function computeBBox(bboxes: any[]): any | null | undefined;
/**
* Computes and returns a transformation matrix string for a given bounding box, considering scaling, rotation, and other transformations.
*
* @param bbox
* @param width
* @param height
* @param overallStrokeWidth
* @param scale
* @param rotation
* @param useRotationSize
* @param offset
* @param bloomSize
* @internal
* @internal
*/
export function getTransformMatrix(bbox: any, width: number, height: number, overallStrokeWidth: number, scale: boolean, rotation: number | null | undefined, useRotationSize: boolean, offset?: [
number,
number
] | null | undefined, bloomSize?: [
number,
number
] | null | undefined): string;