CWColorWheel Documentation Center

Table of Contents

CWColorWheelView Class Reference

CWColorWheelView Class Reference

Overview

The view works on an HSB coordinate system, so you need to set the brightness and alpha for full control out of the color you get. Note that the API for this view is unstable thus it is not recommended that you use this class directly. It is suggested that you use the view controller instead.

CWColorWheelView

Methods

Properties

CWColorWheelView

updateCachedWheel

Call this once you are done changing HSBBrightness and HSBAlpha, otherwise the magnifier will be magnifying an old color wheel with different values of HSBBrightness and HSBAlpha.

- (void)updateCachedWheel
Return Value
Type: void

close

Call this when the color wheel is being taken off screen. It forces the magnifier to hide, otherwise it may stay open.

- (void)close
Return Value
Type: void

HSBBrightness

Set this to change the color wheel's brightness

@property (nonatomic) CGFloat HSBBrightness
Type
CGFloat
Attributes
nonatomic

HSBAlpha

Set this to change the color wheel's alpha.

@property (nonatomic) CGFloat HSBAlpha
Type
CGFloat
Attributes
nonatomic