ColorGroup#
- class pybmd.color_group.ColorGroup(color_group)[source]
Bases:
object
docstring for ColorGroup.
Methods
__init__
(color_group)get_clips_in_timeline
(timeline)Returns a list of TimelineItem that are in colorGroup in the given Timeline.
get_name
()Returns the name (string) of the ColorGroup.
Returns the ColorGroup Post-clip graph.
Returns the ColorGroup Pre-clip graph.
set_name
(group_name)Renames ColorGroup to groupName (string).
- get_name() str [source]
Returns the name (string) of the ColorGroup.
- Returns:
name of the ColorGroup.
- Return type:
- get_clips_in_timeline(timeline: Timeline) List[TimelineItem] [source]
Returns a list of TimelineItem that are in colorGroup in the given Timeline.
- Parameters:
timeline (Timeline) – Timeline is Current Timeline by default.
- Returns:
a list of TimelineItem that are in colorGroup in the given Timeline.
- Return type:
List[TimelineItem]
- get_pre_clip_node_graph() Graph [source]
Returns the ColorGroup Pre-clip graph.
- Returns:
ColorGroup Pre-clip graph
- Return type:
Graph
- get_post_clip_node_graph() Graph [source]
Returns the ColorGroup Post-clip graph.
- Returns:
ColorGroup Post-clip graph
- Return type:
Graph