Css font properties

This commit is contained in:
vakrilov
2015-06-22 14:01:06 +03:00
parent e3cafa2a1d
commit 1433f72509
13 changed files with 502 additions and 93 deletions

21
ui/styling/font.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
declare module "ui/styling/font" {
export class Font {
public static default: Font;
public fontFamily: string;
public fontStyle: string;
public fontWeight: string;
public isBold: boolean;
public isItalic: boolean;
public ios: UIFontDescriptor;
public android: android.graphics.Typeface;
constructor(family: string, style: string, weight: string);
public withFontFamily(family: string): Font;
public withFontStyle(style: string): Font;
public withFontWeight(weight: string): Font;
}
}