MMpy.Colour.R

Syntax

colour.R

Description

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

Parameters

Type
Description
int Sets the R component of the colour.

Returns

Type
Description
int Returns the R 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)
red = colour.R  # 255
colour.R = 160

Resource ID

IDPH_COLOUR_R