colour_visuals.visual.MixinPropertyOpacity#

class colour_visuals.visual.MixinPropertyOpacity[source]#

Bases: object

Define a mixin for an opacity value.

Attributes

__init__() None[source]#
Return type:

None

property opacity: float[source]#

Getter and setter property for the opacity value.

Parameters:

value – Value to set the opacity value with.

Returns:

Visual opacity.

Return type:

float

__weakref__#

list of weak references to the object