/**
 * Appcelerator Titanium Mobile
 * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.
 * Licensed under the terms of the Apache Public License
 * Please see the LICENSE included with this distribution for details.
 * 
 * WARNING: This is generated code. Modify at your own risk and without support.
 */


#import <UIKit/UIKit.h>

@interface WebFont : NSObject {
	NSString* family;
	CGFloat size;
	BOOL isBoldWeight;
	BOOL isNormalWeight;
    BOOL isItalicStyle;
    BOOL isNormalStyle;
	UIFont *font;
}
@property(nonatomic,retain) NSString *family;
@property(nonatomic) CGFloat size;
@property(nonatomic,readonly) BOOL isSizeNotSet;
@property(nonatomic) BOOL isBoldWeight;
@property(nonatomic) BOOL isNormalWeight;
@property(nonatomic) BOOL isItalicStyle;
@property(nonatomic) BOOL isNormalStyle;

-(UIFont*)font;

-(BOOL)updateWithDict:(NSDictionary *)fontDict inherits:(WebFont *)inheritedFont;

+(WebFont *)tableRowFont;
+(WebFont *)defaultFont;
+(WebFont *)defaultBoldFont;
+(WebFont *)fontWithName:(NSString*)name;

@end

