Color.saturation

Tinderbox Icon


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

$MyColor.saturation

New to v5.7.0, this operator sets or returns the saturation 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 saturation() operator. Examples:

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

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

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


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

Up: Color operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Types : Color operators : Color.saturation

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