Added -isBold accessor, fixel documentation to indicate font size is actually in css pixels, not points.

This commit is contained in:
Aparajita Fishman committed 2010-07-27 16:37:13 -04:00
1 parent 1d8ab840dc
commit 92897a91ed
1 file changed
+9 -1
+9 -1
View File
@@ -124,13 +124,21 @@ var _CPFonts = {},
}
/*!
Returns the font size (in points)
Returns the font size (in CSS px)
*/
- (float)size
{
return _size;
}
/*!
Returns whether the font is bold
*/
- (BOOL)isBold
{
return _isBold;
}
/*!
Returns the font as a CSS string
*/