Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
126 lines (105 loc) · 9.99 KB

cp.apple.finalcutpro.inspector.color.ColorBoardAspect.md

File metadata and controls

126 lines (105 loc) · 9.99 KB

docs » cp.apple.finalcutpro.inspector.color.ColorBoardAspect


Represents a particular aspect of the color board (Color/Saturation/Exposure).

API Overview

API Documentation

Constants

Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect.ids -> table
Type Constant
Description A table containing the list of aspect IDs ("color", "saturation", "exposure").

Constructors

Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect(parent, index[, hasAngle]) -> ColorBoardAspect
Type Constructor
Description Creates a new ColorBoardAspect object.
Parameters
  • parent - The parent object.
  • index - The Color Board Aspect Index.
  • hasAngle - If true, the aspect has an angle parameter. Defaults to false
Returns
  • A new `ColorBoardAspect object.

Fields

Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect.highlights <ColorPuck>
Type Field
Description The Highlights ColorPuck object.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect.master <ColorPuck>
Type Field
Description The Master ColorPuck object.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect.midtones <ColorPuck>
Type Field
Description The Midtones ColorPuck object.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:selected() -> boolean
Type Field
Description Is the Color Board Aspect selected?
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect.shadows <ColorPuck>
Type Field
Description The Shadows ColorPuck object.

Methods

Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:doShow() -> cp.rx.go.Statement
Type Method
Description A Statement that shows this Color Board Aspect.
Parameters
  • None
Returns
  • The Statement, resolving to true if successful or throwing an error if not.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:hasAngle() -> boolean
Type Method
Description Checks if the aspect has an angle property.
Parameters
  • None
Returns
  • true if it has an angle propery.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:id() -> string
Type Method
Description Gets the Color Board Aspect ID.
Parameters
  • None
Returns
  • The ID as string.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:index() -> number
Type Method
Description Gets the Color Board Aspect index.
Parameters
  • None
Returns
  • A number.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:reset() -> cp.rx.go.Statement
Type Method
Description A Statement that resets all pucks in the the Color Board Aspect.
Parameters
  • None
Returns
  • The Statement, which will resolve to true if sucessful, or throws an error if not.
Signature cp.apple.finalcutpro.inspector.color.ColorBoardAspect:show() -> cp.apple.finalcutpro.inspector.color.ColorBoardAspect
Type Method
Description Shows the Color Board Aspect
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.inspector.color.ColorBoardAspect object for method chaining.