docs » cp.apple.finalcutpro.timeline.CaptionsRole
Extends Role
A Role representing Captions.
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- CaptionsRole
- Fields - Variables which can only be accessed from an object returned by a constructor
- subrolesExpanded
- visibleInViewer
Signature | cp.apple.finalcutpro.timeline.CaptionsRole.matches(element) -> boolean |
---|---|
Type | Function |
Description | Checks if the element is a "Captions" Role. |
Signature | cp.apple.finalcutpro.timeline.CaptionsRole(parent, uiFinder) |
---|---|
Type | Constructor |
Description | Creates a new instance with the specified parent and uiFinder . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.CaptionsRole.subrolesExpanded <cp.ui.Button> |
---|---|
Type | Field |
Description | A Button that toggles whether the sub-captions are visible. |
Signature | cp.apple.finalcutpro.timeline.CaptionsRole.visibleInViewer <cp.ui.CheckBox> |
---|---|
Type | Field |
Description | A CheckBox that toggles whether captions are visible in the Viewer. |