Skip to content

computeLabelBand

Computes the caption band’s size and position for a given image.

Import:

import { computeLabelBand } from 'obsidian-integration-testing';

Signature:

function computeLabelBand(params: ComputeLabelBandParams): LabelBandGeometry

Parameters:

ParameterTypeDescription
paramsComputeLabelBandParamsThe image dimensions.

Returns: LabelBandGeometry — The band geometry.


Links to this page: