MMpy.Colour.B

Syntax

colour.B

Description

Property to set or return the blue component of a colour object.

Parameters

Type
Description
int Sets the B component of the colour.

Returns

Type
Description
int Returns the B component of the colour.

Notes

This is a read/write property.

If the colour has been constructed with null=True, attempting to read or write to any of the colour components will result in a RuntimeError being raised.

Examples

colour = MMpy.Colour(255,6,103)
blue = colour.B  # 103
colour.B = 160

Resource ID

IDPH_COLOUR_B