/** * 行取り (gyōdori, JLReq §2.2.5 a, §4.1.6): a heading that takes a whole * number of lines of the body grid, its text centred in them. "3行取り" is * a heading set in the room of three body lines: three characters of the * body size and the two line gaps between them, the heading's characters * centred across that band (`HeadingLevelConfig.lineSpan`). */ /** The band a heading of `lineCount` lines takes (px along the block * axis), and how far below the band's top its first line box goes. */ export interface LineSpanBand { /** Body lines the band takes: the heading's `lineSpan`, or more when its * lines need more room (the next whole number of lines). */ lines: number; /** `lines` × the body line pitch. */ height: number; /** Offset of the heading's first line box from the band's top. */ shift: number; } /** * The band of a 行取り heading: `span` body lines of `pitchPx` (more when * the heading's `lineCount` lines of `lineHeightPx` need them), with the * heading's characters centred across it. Centred means the middle of the * heading's characters (first line to last) meets the middle of the body * characters the band would hold (first line to last), so the heading sits * in the band as JLReq measures it, from the top of the first body * character to the foot of the last, not in its line boxes. The first line * box stays inside the band. */ export declare function headingLineSpanBand(span: number, lineCount: number, lineHeightPx: number, heading: { font: string; sizePx: number; }, body: { font: string; sizePx: number; }, pitchPx: number): LineSpanBand; //# sourceMappingURL=lineSpan.d.ts.map