drawInRect:withFont:
INDEX>UIKit>NSString UIKit Additions
現在のコンテキストに指定した領域に文字を描画します。
-(CGSize)drawInRect:(CGRect)rect
withFont:(UIFont *)font
解説
指定した領域に文字を描画します。
返り値
( CGSize )
描画した文字のサイズ
引数
( CGRect )rect
描画する範囲
( UIFont * )font
描画するフォント
フレームワーク
UIKit
クラス
NSString UIKit Additions
Instance Methods
使用可能
iPhone2.0