docs » cp.apple.finalcutpro.inspector.color.ColorWheel
Represents a single Color Well in the Color Wheels Inspector.
- Constants - Useful values which cannot be changed
- TYPE
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- ColorWheel
- Fields - Variables which can only be accessed from an object returned by a constructor
- brightnessValue
- colorOrientation
- colorPosition
- colorValue
- focused
- puckPosition
- reset
- saturationValue
- Methods - API calls which can only be made on an object returned by a constructor
- brightness
- colorWell
- doNudgeColor
- doSelect
- doShow
- nudgeColor
- saturation
- select
- show
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.TYPE |
---|---|
Type | Constant |
Description | The possible types of ColorWheels: MASTER, SHADOWS, MIDTONES, HIGHLIGHTS. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.matches(element) |
---|---|
Type | Function |
Description | Checks if the specified element is a Color Well. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel(parent, type) -> ColorWheel |
---|---|
Type | Constructor |
Description | Creates a new ColorWheel instance, with the specified parent and type. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.brightnessValue <cp.prop: number> |
---|---|
Type | Field |
Description | The current brightness value, as a number between -12 and 10. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.colorOrientation <cp.prop: table> |
---|---|
Type | Field |
Description | Provides the orientation of the color as a table containing an up and right value. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.colorPosition <cp.prop: point> |
---|---|
Type | Field |
Description | X/Y screen position for the current color value of the Color Well. This ignores the bounds of the |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.colorValue <cp.prop: hs.drawing.color> |
---|---|
Type | Field |
Description | The current color value, as a hs.drawing.color table. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.focused <cp.pref: boolean> |
---|---|
Type | Field |
Description | Gets and sets whether the Color Well has focus. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.puckPosition <cp.prop: point> |
---|---|
Type | Field |
Description | Absolute X/Y screen position for the puck in the Color Well. Colours outside the bounds are clamped inside the color well. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.reset <cp.ui.Button> |
---|---|
Type | Field |
Description | A Button that resets the color wheel values, if the ColorWheel is showing. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.saturationValue <cp.prop: number> |
---|---|
Type | Field |
Description | The current saturation value, as a number between 0 and 10. |
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.brightness <ValueIndicator> |
---|---|
Type | Method |
Description | Returns the brightness ValueIndicator for this ColorWheel. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.colorWell <ColorWell> |
---|---|
Type | Method |
Description | Returns the ColorWell for this ColorWheel. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:doNudgeColor(right, up) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that nudges the colorPosition by right /up values. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:doSelect() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that attempts to select this ColorWheel . |
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:doShow() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that attempts to show the ColorWheel . |
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:nudgeColor(right, up) -> self |
---|---|
Type | Method |
Description | Nudges the colorPosition by right /up values. Negative right values shift left, |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel.saturation <ValueIndicator> |
---|---|
Type | Method |
Description | Returns the saturation ValueIndicator for this ColorWheel. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:select() -> cp.apple.finalcutpro.inspector.color.ColorWheel |
---|---|
Type | Method |
Description | Shows and selects this color wheel. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorWheel:show() -> self |
---|---|
Type | Method |
Description | Shows the ColorWheel , if possible. |
Returns |
|