MCPcopy
hub / github.com/chartjs/Chart.js / toTRBLCorners

Function toTRBLCorners

src/helpers/helpers.options.ts:86–88  ·  view source on GitHub ↗
(value: number | TRBLCorners)

Source from the content-addressed store, hash-verified

84 * @since 3.0.0
85 */
86export function toTRBLCorners(value: number | TRBLCorners) {
87 return _readValueToProps(value, ['topLeft', 'topRight', 'bottomLeft', 'bottomRight']);
88}
89
90/**
91 * Converts the given value into a padding object with pre-computed width/height.

Callers 8

drawLegendBoxMethod · 0.85
getBackgroundPointFunction · 0.85
getCaretPositionMethod · 0.85
_drawColorBoxMethod · 0.85
drawBackgroundMethod · 0.85
drawPointLabelBoxFunction · 0.85
parseBorderRadiusFunction · 0.85

Calls 1

_readValueToPropsFunction · 0.85

Tested by

no test coverage detected