Files
ETB/ETB-FrontEnd/node_modules/@mui/x-charts/ChartsText/defaultTextPlacement.d.ts
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

9 lines
527 B
TypeScript

import { ChartsTextStyle } from "../internals/getWordsByLines.js";
/**
* Provide the text-anchor based on the angle between the text and the associated element.
* - 0 means the element is on top of the text, 180 bellow, and 90 on the right of the text.
* @param {number} angle The angle between the text and the element.
* @returns
*/
export declare function getDefaultTextAnchor(angle: number): ChartsTextStyle['textAnchor'];
export declare function getDefaultBaseline(angle: number): ChartsTextStyle['dominantBaseline'];