#import <LabelAtlas.h>
Inherits AtlasNode.

Public Member Functions | |
| (id) | - initWithString:charMapFile:itemWidth:itemHeight:startCharMap: |
| (void) | - setString: |
Static Public Member Functions | |
| (id) | + labelAtlasWithString:charMapFile:itemWidth:itemHeight:startCharMap: |
Protected Attributes | |
| NSString * | string |
| string to render | |
| char | mapStartChar |
| the first char in the charmap | |
It can be as a replacement of Label since it is MUCH faster that it.
LabelAtlas versus Label:
| - (id) initWithString: | (NSString *) | string | ||
| charMapFile: | (NSString *) | charmapfile | ||
| itemWidth: | (int) | w | ||
| itemHeight: | (int) | h | ||
| startCharMap: | (char) | c | ||
initializes the LabelAtlas with a string, a char map file(the atlas), the width and height of each element and the starting char of the atlas
| + (id) labelAtlasWithString: | (NSString *) | string | ||
| charMapFile: | (NSString *) | charmapfile | ||
| itemWidth: | (int) | w | ||
| itemHeight: | (int) | h | ||
| startCharMap: | (char) | c | ||
creates the LabelAtlas with a string, a char map file(the atlas), the width and height of each element and the starting char of the atlas
| - (void) setString: | (NSString *) | string |
changes the string to render.
- (char) mapStartChar [protected] |
the first char in the charmap
- (NSString*) string [protected] |
string to render
1.5.8