FLDView is simply UIView extension.
Introduction
FLDView is simply UIView extension.
This class has a series of position and size control.
Details
Add your content here. Format your content with:
Sample
FLDView *view = [[FLDView alloc]initWithCGImage:CGRectMake(0,0,100,100)];
[view setBackgroundColor:[UIColor redColor]];
[view setX:10];
[view setY:10];
[view setWidth:100];
[view setHeight:100];
Methods
| setX:(float)value | sets frame.origion.x |
| setY:(float)value | sets frame.origion.y |
| setWidth:(float)value | sets frame.size.width |
| setHeight:(float)value | sets frame.size.height |
| setLeft:(float)value | sets frame.origion.x based on the left side of the view |
| setRight:(float)value | sets frame.origion.x based on the right side of the view |
| setTop:(float)value | sets frame.origion.y based on the top of the view |
| setBottom:(float)value | sets frame.origion.y based on the bottom of the view |
| setOrigin:(CGPoint)point | sets frame.origin |
| setSize:(CGPoint)point | sets frame.size |