WebFont Class Reference
Inherits from | NSObject |
Declared in | WebFont.h |
Tasks
-
family
Provides access to the font family which is the official font name.
property -
size
Provides access to the font size.
property -
isSizeNotSet
Whether or not the font size is not set.
property -
isBoldWeight
Whether or not the font weight is bold.
property -
isNormalWeight
Whether or not the font weight is normal.
property -
isItalicStyle
Whether or not the font style is italic.
property -
isNormalStyle
Whether or not the font style is normal.
property -
isSemiboldWeight
Whether or not the font weight is semibold.
property -
– font
Returns underlying font object.
-
– updateWithDict:inherits:
Tells the font to update its parameters from dictionary.
-
+ tableRowFont
Returns table row font.
-
+ defaultFont
Returns the default text font.
-
+ defaultBoldFont
Returns the default bold font.
-
+ fontWithName:
Returns the font by name.
Properties
family
Provides access to the font family which is the official font name.
@property (nonatomic, retain) NSString *family
Declared In
WebFont.h
isBoldWeight
Whether or not the font weight is bold.
@property (nonatomic) BOOL isBoldWeight
Declared In
WebFont.h
isItalicStyle
Whether or not the font style is italic.
@property (nonatomic) BOOL isItalicStyle
Declared In
WebFont.h
isNormalStyle
Whether or not the font style is normal.
@property (nonatomic) BOOL isNormalStyle
Declared In
WebFont.h
isNormalWeight
Whether or not the font weight is normal.
@property (nonatomic) BOOL isNormalWeight
Declared In
WebFont.h
isSemiboldWeight
Whether or not the font weight is semibold.
@property (nonatomic) BOOL isSemiboldWeight
Declared In
WebFont.h
Class Methods
defaultBoldFont
Returns the default bold font.
+ (WebFont *)defaultBoldFont
Return Value
The default bold font.
Declared In
WebFont.h
defaultFont
Returns the default text font.
+ (WebFont *)defaultFont
Return Value
The default font.
Declared In
WebFont.h
Instance Methods
updateWithDict:inherits:
Tells the font to update its parameters from dictionary.
- (BOOL)updateWithDict:(NSDictionary *)fontDict inherits:(WebFont *)inheritedFont
Parameters
- fontDict
The dictionary to update from.
- inheritedFont
The font to inherit parameters from.
Return Value
YES if the update operation succeeded, NO otherwise.
Declared In
WebFont.h