Color.brightness

Tinderbox Icon


Operator Type:   Property
Operator Scope of Action:   Item
Operator Purpose:   Color

$MyColor.brightness

New to v5.7.0, this operator sets or returns the brightness value of the associated Color-type attribute. The value is a number in the range 0-100. This operator is intended to replace the existing brightness() operator. Examples:

$MyColor.brightness = 50 (sets 50% brightness)

$MyColor2.brightness = $MyColor.brightness (matches brightness levels) 

$MyNumber = $MyColor.brightness (returns 50 - from above example)


Possible relevant notes (via "Similar Notes" feature):

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : Color.brightness

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox