class org.aswing.StyleTune
Sub classes | ||||
![]() | UIStyleTune |
|
The style tune include factors to generate colors for gradient content and border, and include the round property and shaow alpha property.
This is used to affect the component's UI style.
Instance Fields
function new(?cg:Float = 0.2f, ?bo:Float = 0.15f, ?bg:Float = 0.35f, ?sa:Float = 0.2f, ?r:Float = 0, ?ma:StyleTune = null): Void
Create a UIColorAdjuster with specified params
cg | gradient brightness range of content color |
bo | birightness offset for border color |
bg | gradient brightness range of border color |
sa | shadow alpha |
r | the round rect radius, 0 means not round |
ma | the adjuster for mideground color, null means use this(UIColorAdjuster) |