SLGPUImageView Class Reference
Inherits from | UIView |
---|---|
Conforms to | SLGPUImageInput |
Declared in | SLGPUImageView.h |
fillMode
The fill mode dictates how images are fit in the view, with the default being LSQKGPUImageFillModePreserveAspectRatio
@property (readwrite, nonatomic) LSQGPUImageFillModeType fillMode
Declared In
SLGPUImageView.h
sizeInPixels
This calculates the current display size, in pixels, taking into account Retina scaling factors
@property (readonly, nonatomic) CGSize sizeInPixels
Declared In
SLGPUImageView.h
– setBackgroundColorRed:green:blue:alpha:
Handling fill mode
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent
Parameters
redComponent |
Red component for background color |
---|---|
greenComponent |
Green component for background color |
blueComponent |
Blue component for background color |
alphaComponent |
Alpha component for background color |
Declared In
SLGPUImageView.h