Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColorProperties

Interface for defining an RGBA Color with channels ranging [0, 1].

This should be internal, as usage of Color constructor is ill-advised to promote usage of Factories.

Index

Properties

Properties

a

a : number

Alpha value from 0 to 1

b

b : number

Blue value from 0 to 1

g

g : number

Green value from 0 to 1

r

r : number

Red value from 0 to 1