My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 30, 2008 by fukatsu
FLDView  

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)valuesets frame.origion.x
setY:(float)valuesets frame.origion.y
setWidth:(float)valuesets frame.size.width
setHeight:(float)valuesets frame.size.height

setLeft:(float)valuesets frame.origion.x based on the left side of the view
setRight:(float)valuesets frame.origion.x based on the right side of the view
setTop:(float)valuesets frame.origion.y based on the top of the view
setBottom:(float)valuesets frame.origion.y based on the bottom of the view

setOrigin:(CGPoint)pointsets frame.origin
setSize:(CGPoint)pointsets frame.size


Sign in to add a comment
Hosted by Google Code