@itwin/core-backend
Version:
iTwin.js backend components
19 lines • 1.01 kB
TypeScript
import { ElementGeometry, GeometryParams, TextBlock, TextString } from "@itwin/core-common";
import { AnyCurvePrimitive } from "@itwin/core-geometry";
import { ComputeRangesForTextLayoutArgs, FindFontId, FindTextStyle, TextBlockLayout, TextLayoutRanges } from "../core-backend";
import { Id64String } from "@itwin/core-bentley";
export declare function computeTextRangeAsStringLength(args: ComputeRangesForTextLayoutArgs): TextLayoutRanges;
export declare function doLayout(textBlock: TextBlock, args?: {
textStyleId?: Id64String;
findTextStyle?: FindTextStyle;
findFontId?: FindFontId;
}): TextBlockLayout;
export declare class MockBuilder extends ElementGeometry.Builder {
params: GeometryParams[];
geometries: AnyCurvePrimitive[];
textStrings: TextString[];
appendGeometryParamsChange(params: GeometryParams): boolean;
appendGeometryQuery(geometry: AnyCurvePrimitive): boolean;
appendTextString(text: TextString): boolean;
}
//# sourceMappingURL=AnnotationTestUtils.d.ts.map