Paket | mx.skins.halo |
Klass | public class HaloColors |
Arv | HaloColors Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
[statisk]
Calculates colors that are used by components that
support the Halo theme, such as the colors of beveled
edges. | HaloColors | ||
[statisk]
Returns a unique hash key based on the colors that are
passed in. | HaloColors | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Metoddetaljer
addHaloColors | () | metod |
public static function addHaloColors(colors:Object, themeColor:uint, fillColor0:uint, fillColor1:uint):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Calculates colors that are used by components that
support the Halo theme, such as the colors of beveled
edges. This method uses the themeColor
and
fillColors
properties to calculate its
colors.
Parametrar
colors:Object — The object on which the calculated color
values are stored.
| |
themeColor:uint — The value of the themeColor
style property.
| |
fillColor0:uint — The start color of a fill.
| |
fillColor1:uint — The end color of a fill.
|
getCacheKey | () | metod |
public static function getCacheKey(... colors):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns a unique hash key based on the colors that are passed in. This key is used to store the calculated colors so they only need to be calculated once.
Parametrar
... colors — An arbitrary number of RGB colors expressed
as uint values (for example, 0xFF0000).
|
String |
Tue Jun 12 2018, 01:40 PM Z