API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPString(CPStringDrawing) Category Reference

Instance Methods

(CPString- cssString
 
(CGSize) - sizeWithFont:
 
(CGSize) - sizeWithFont:inWidth:
 

Class Methods

(CPDictionary+ metricsOfFont:
 

Detailed Description

Definition at line 30 of file CPStringDrawing.j.

Method Documentation

- (CPString) cssString
implementation

Returns the string

Extends class CPString.

Definition at line 43 of file CPStringDrawing.j.

+ (CPDictionary) metricsOfFont: (CPFont aFont
implementation

Returns a dictionary with the items "ascender", "descender", "lineHeight"

Extends class CPString.

Definition at line 35 of file CPStringDrawing.j.

- (CGSize) sizeWithFont: (CPFont aFont
implementation

Extends class CPString.

Definition at line 48 of file CPStringDrawing.j.

- (CGSize) sizeWithFont: (CPFont aFont
inWidth: (float)  aWidth 
implementation

Extends class CPString.

Definition at line 53 of file CPStringDrawing.j.


The documentation for this category was generated from the following file: