UIImage graphics extension.
More...
#import <UIImage.h>
- (UIImage *) imageByCroppedToRect: |
|
(CGRect) |
rect |
|
Returns a cropped image by given rect.
- Parameters
-
- Returns
- An UIImage object containing a cropped image from the image.
This method depends on CoreGraphics.
- (UIImage *) imageByFilledWithColor: |
|
(UIColor *) |
color |
|
Color filled image with given color.
- Parameters
-
This method depends on CoreGraphics.
- (UIImage *) imageByResizingToSize: |
|
(CGSize) |
size |
|
Returns a resized image by given size.
- Parameters
-
- Returns
- An UIImage object containing a resized image from the image.
This method depends on CoreGraphics.
+ (UIImage *) imageWithBezierPath: |
|
(UIBezierPath *) |
path |
color: |
|
(UIColor *) |
color |
backgroundColor: |
|
(UIColor *) |
backgroundColor |
|
|
| |
Image drawn with bazier path.
- Parameters
-
path | The bezier path to draw. |
color | The stroke color for bezier path. |
backgroundColor | The fill color for bezier path. |
+ (UIImage *) imageWithColor: |
|
(UIColor *) |
color |
size: |
|
(CGSize) |
size |
|
|
| |
Colored image by given size.
- Parameters
-
color | The color to fill. |
size | The image size to create. |
The documentation for this category was generated from the following file: