Simulates a iOS UIFont
to ease the porting of UI code from iOS to Android. A UIFont
holds information about the font selected for an upcoming draw operation and contains a Paint
object that will be used in the drawing process. NOTE: Only a small percentage of UIFont
has been ported to support the Action Components.
More...
|
| UIFont () |
| Initializes a new instance of the T:UIKit.UIFont class. More...
|
|
Simulates a iOS UIFont
to ease the porting of UI code from iOS to Android. A UIFont
holds information about the font selected for an upcoming draw operation and contains a Paint
object that will be used in the drawing process. NOTE: Only a small percentage of UIFont
has been ported to support the Action Components.
Initializes a new instance of the T:UIKit.UIFont class.
static UIFont UIKit.UIFont.BoldSystemFontOfSize |
( |
nfloat |
size | ) |
|
|
static |
Returns a bold system font of the given size.
- Returns
- The system font of size.
- Parameters
-
Measures the size of the current string for the given font, available size and line break mode.
- Returns
- The size.
- Parameters
-
text | Text. |
font | Font. |
size | Size. |
mode | Mode. |
static UIFont UIKit.UIFont.SystemFontOfSize |
( |
nfloat |
size | ) |
|
|
static |
Returns a system font of the given size.
- Returns
- The font of size.
- Parameters
-
Paint UIKit.UIFont.FontPaint |
|
getset |
Gets or sets the font paint.
The font paint.
bool UIKit.UIFont.TextBold |
|
getset |
Gets or sets a value indicating whether this T:UIKit.UIFont text is bold.
true
if text bold; otherwise, false
.
Gets or sets the color of the text.
The color of the text.
nfloat UIKit.UIFont.TextSize = new Paint() |
|
getset |
Gets or sets the size of the text.
The size of the text.