Colour

data class Colour(val red: Expression, val green: Expression, val blue: Expression) : PrimitiveType

Expression to represent a colour with red, green, and blue values.

Parameters

red

An Expression representing the RED component of the colour.

green

An Expression representing the GREEN component of the colour.

blue

An Expression representing the BLUE component of the colour.

Constructors

Link copied to clipboard
constructor(red: Expression, green: Expression, blue: Expression)

Functions

Link copied to clipboard

Returns a list of strings of the identifiers of all the variables that this expression references.

Link copied to clipboard

Does this expression reference any variables?

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard