ableton.v3.control_surface.elements.color (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
Optional(*args, **kwds)¶
abstractmethod(funcobj)¶
create_rgb_color(values)¶
memoize(function)¶
old_hasattr(obj, attr)¶
Classes¶
class ABC¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
_abc_impl=<_abc_data object at 0x118694cc0>
class Color(ABC)¶
Properties¶
midi_value
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
draw(self, interface)¶
Attributes¶
_abc_impl=<_abc_data object at 0x1639e2690>
class ColorPart(tuple)¶
ColorPart(value, channel)
Properties¶
channel- Alias for field number 1value- Alias for field number 0
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
_asdict(self)¶
_make(iterable)¶
Make a new ColorPart object from a sequence or iterable
_replace(_self, **kwds)¶
Return a new ColorPart object replacing specified fields with new values
count(self, value, /)¶
Return number of occurrences of value.
index(self, value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
Attributes¶
_field_defaults={'channel': None}- dict() -> new empty dictionary_field_types=OrderedDict([('value', <class 'int'>), ('channel', typing.Union[int, NoneType])])- Dictionary that remembers insertion order_fields=('value', 'channel')- Built-in immutable sequence._fields_defaults={}- dict() -> new empty dictionary
class ComplexColor(Color)¶
Properties¶
midi_value
Methods¶
__init__(self, color_parts, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
draw(self, interface)¶
Attributes¶
_abc_impl=<_abc_data object at 0x1639e27b0>
class FallbackColor(Color)¶
Properties¶
midi_value
Methods¶
__init__(self, rgb_color, fallback_color, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
draw(self, interface)¶
Attributes¶
_abc_impl=<_abc_data object at 0x1639e28d0>
class NamedTuple¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
_root=True- bool(x) -> bool
class RgbColor(Color)¶
Properties¶
midi_value
Methods¶
__init__(self, *values, **k)¶
Initialize self. See help(type(self)) for accurate signature.
draw(self, interface)¶
Attributes¶
_abc_impl=<_abc_data object at 0x1639e2750>
class SimpleColor(Color)¶
Properties¶
midi_value
Methods¶
__init__(self, value, channel=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
draw(self, interface)¶
Attributes¶
_abc_impl=<_abc_data object at 0x1639e26f0>