mirror of
https://github.com/iluvcapra/pycmx.git
synced 2026-01-01 17:30:55 +00:00
Code Style/Blank lines
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
# pycmx
|
||||
# (c) 2018 Jamie Hardt
|
||||
|
||||
|
||||
class Transition:
|
||||
"""
|
||||
A CMX transition: a wipe, dissolve or cut.
|
||||
"""
|
||||
|
||||
|
||||
Cut = "C"
|
||||
Dissolve = "D"
|
||||
Wipe = "W"
|
||||
@@ -14,12 +13,9 @@ class Transition:
|
||||
Key = "K"
|
||||
KeyOut = "KO"
|
||||
|
||||
|
||||
def __init__(self, transition, operand):
|
||||
self.transition = transition
|
||||
self.operand = operand
|
||||
self.name = ''
|
||||
|
||||
|
||||
@property
|
||||
def kind(self):
|
||||
@@ -49,13 +45,11 @@ class Transition:
|
||||
"`True` if this traansition is a dissolve."
|
||||
return self.transition == 'D'
|
||||
|
||||
|
||||
@property
|
||||
def wipe(self):
|
||||
"`True` if this transition is a wipe."
|
||||
return self.transition.startswith('W')
|
||||
|
||||
|
||||
@property
|
||||
def effect_duration(self):
|
||||
"""The duration of this transition, in frames of the record target.
|
||||
|
||||
Reference in New Issue
Block a user