TKImageFill Class Reference
Inherits from | TKFill : NSObject |
Declared in | TKImageFill.h |
Properties
image
An image to draw.
@property (nonatomic, strong, nullable) UIImage *image
Declared In
TKImageFill.h
resizingMode
Defines the resizing mode of the image.
@property (nonatomic, assign) TKImageFillResizingMode resizingMode
Discussion
The resizing modes are defined as follows:
typedef enum {
TKImageFillResizingModeTile, // The image is tiled (default).
TKImageFillResizingModeStretch, // The image is stretched.
TKImageFillResizingModeNone, // The image is shown as is.
} TKImageFillResizingMode;
Declared In
TKImageFill.h
Class Methods