##// END OF EJS Templates
Добавлена метка v1.0.0 для набора изменений a045279dcf9b
Добавлена метка v1.0.0 для набора изменений a045279dcf9b

File last commit:

r0:ab570232df7d default
r7:162faf64fc9c default
Show More
metrics.d.ts
35 lines | 819 B | video/mp2t | TypeScriptLexer
declare namespace dojox {
namespace html {
namespace metrics {
interface FontMeasurements {
'100%': number;
'12pt': number;
'16px': number;
'1em': number;
'1ex': number;
large: number;
medium: number;
small: number;
'x-large': number;
'xx-large': number;
'x-small': number;
'xx-small': number;
}
interface Metrics {
getCachedFontMeasurements(recalculate?: boolean): FontMeasurements;
getFontMeasurements(): FontMeasurements;
getScrollbar(): dojo.DomGeometryWidthHeight;
getTextBox(text: string, style?: Object, className?: string): dojo.DomGeometryXYBox;
initOnFontResize(): void;
onFontResize(event: Event): void;
}
}
}
}
declare module 'dojox/html/metrics' {
const metrics: dojox.html.metrics.Metrics;
export = metrics;
}