disguise developers

Designer Plugins

Plugins for Disguise Designer software.

Col

Base class: _BlipValue

Properties

a : int

b : int

g : int

r : int

Variables

black : Col

blackZeroAlpha : Col

blue : Col

caramel : Col

cyan : Col

darkGrey : Col

fromHSL : Callable

green : Col

grey : Col

lightGrey : Col

lime : Col

magenta : Col

orange : Col

pink : Col

red : Col

salmon : Col

transparent : Col

turquoise : Col

white : Col

whiteZeroAlpha : Col

yellow : Col

Constructors

__init__(self)

__init__(self, other: Col)

Copy constructor for Col

__init__(self, arg0: int, arg1: int, arg2: int)

__init__(self, arg0: int, arg1: int, arg2: int, arg3: int)

__init__(self, c: Colour)

Methods

mix(self, c: Col, r: float) -> Col

toHSL(self) -> Vec

toNormalisedColour(self) -> Colour

Special Methods

__add__(self, c: Col) -> Col

__eq__(self, c: Col) -> bool

__mul__(col, x) -> Any

Multiply the elements of the colour by a value

Parameters:

Returns The colour with its elements multiplied by x

__ne__(self, c: Col) -> bool

__repr__(self) -> Any

String representation of the colour

__rmul__(col, x) -> Any

Multiply the elements of the colour by a value

Parameters:

Returns The colour with its elements multiplied by x

__sub__(self, c: Col) -> Col