UNPKG

694 BTypeScriptView Raw
1export default class Font {
2 static parse(font?: string, inherit?: string | Font): Font;
3 static readonly styles = "normal|italic|oblique|inherit";
4 static readonly variants = "normal|small-caps|inherit";
5 static readonly weights = "normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";
6 readonly fontFamily: string;
7 readonly fontSize: string;
8 readonly fontStyle: string;
9 readonly fontWeight: string;
10 readonly fontVariant: string;
11 constructor(fontStyle: string, fontVariant: string, fontWeight: string, fontSize: string, fontFamily: string, inherit?: string | Font);
12 toString(): string;
13}
14//# sourceMappingURL=Font.d.ts.map
\No newline at end of file