Labels and symbols
Sheet symbols
Geometry for the scale bar, the north arrow and the view title.
Last modified on October 6, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Geometry for the scale bar, the north arrow and the view title.
import { scaleBarGeometry, northArrowGeometry, viewTitleGeometry } from '@opengeometry/floorkit';
function scaleBarGeometry(
origin: Point2,
ratio: number,
options?: {
unitMeters?: number;
divisions?: number;
system?: UnitSystem;
},
): DrawnSymbol;
function northArrowGeometry(center: Point2, radiusMm?: number, angleDeg?: number): DrawnSymbol;
function viewTitleGeometry(
viewport: Viewport,
options?: {
system?: UnitSystem;
number?: string;
},
): DrawnSymbol;
interface DrawnSymbol {
lines: VectorLine[];
texts: VectorText[];
}