guides:programming:programmers_reference_manual:lightencolor_method_system

LIGHTENCOLOR method (System)

This method returns a lightened version of the specified color.

LtColor = Exec_Method( "SYSTEM", "LIGHTENCOLOR", Color, Amount )

NameRequiredDescription
ColorYesColor to lighten.
AmountYesAmount by which to lighten (between 0 and 1.0)

The lightened color.

N/A

 
//// Get the system BTNFACE color and create a lighter version of it.//
  
  Color   = Get_Property( @Window, "VISUALSTYLECOLOR", SYSCOLOR_BTNFACE$ )
  LtColor = Exec_Method( "SYSTEM", "LIGHTENCOLOR", Color, 0.1 )
 
 
 

ALPHACOLOR method, LIGHTENCOLOR method, MIXCOLORS method.

  • guides/programming/programmers_reference_manual/lightencolor_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1