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): LabelBandGeometryParameters:
| Parameter | Type | Description |
|---|---|---|
params | ComputeLabelBandParams | The image dimensions. |
Returns: LabelBandGeometry — The band geometry.
Links to this page: