Skip to content

LabelBandGeometry

The geometry of the caption band.

Import:

import type { LabelBandGeometry } from 'obsidian-integration-testing';

Signature:

export interface LabelBandGeometry

Properties

PropertyTypeDescription
captionRoomInPixelsnumberHow much horizontal room the caption has, in pixels: the image width less the margin held clear at each end, so a caption that fits does not read as though it were about to touch the edge of the frame.
fontSizeInPixelsnumberFont size for the caption, in pixels.
heightInPixelsnumberHeight of the band, in pixels.
topInPixelsnumberDistance from the top of the image to the top of the band, in pixels.

Links to this page: