套件 | mx.skins.halo |
類別 | public class HaloColors |
繼承 | HaloColors ![]() |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. | HaloColors | ||
[靜態]
Returns a unique hash key based on the colors that are
passed in. | HaloColors | ||
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object |
方法詳細資訊
addHaloColors | () | 方法 |
public static function addHaloColors(colors:Object, themeColor:uint, fillColor0:uint, fillColor1:uint):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public static function getCacheKey(... colors):String
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
參數
... colors — An arbitrary number of RGB colors expressed
as uint values (for example, 0xFF0000).
|
String |
Tue Jun 12 2018, 03:47 PM Z