Paket | mx.utils |
Sınıf | public final class HSBColor |
Miras Alma | HSBColor Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Özellik | Tanımlayan: | ||
---|---|---|---|
brightness : Number
The brightness parameter for this HSB color. | HSBColor | ||
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
hue : Number
The hue value for the HSB color. | HSBColor | ||
saturation : Number
The saturation parameter for this HSB color. | HSBColor |
Yöntem | Tanımlayan: | ||
---|---|---|---|
Constructs an HSBColor with optional parameters. | HSBColor | ||
[statik]
Converts an HSB color specified by the parameters to a
uint RGB color. | HSBColor | ||
[statik]
Converts a color from RGB format into an HSBColor. | HSBColor | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Belirtilen nesnenin dize olarak temsil edilen halini döndürür. | Object | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
brightness | özellik |
brightness:Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The brightness parameter for this HSB color. This is a value between 0 (black) and 1 (full brightness), which represents the distance from the apex of the HSB cone.
Uygulama
public function get brightness():Number
public function set brightness(value:Number):void
hue | özellik |
hue:Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The hue value for the HSB color. This represents an angle, in degrees, around the HSB cone. The supplied value will be modulated by 360 so that the stored value of hue will be in the range [0,360).
Uygulama
public function get hue():Number
public function set hue(value:Number):void
saturation | özellik |
saturation:Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The saturation parameter for this HSB color. This is a value between 0 (black) and 1 (full saturation), which represents the distance from the center in the HSB cone.
Uygulama
public function get saturation():Number
public function set saturation(value:Number):void
HSBColor | () | Yapıcı |
public function HSBColor(hue:Number = NaN, saturation:Number = NaN, brightness:Number = NaN)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Constructs an HSBColor with optional parameters.
Parametrelerhue:Number (default = NaN ) — The hue.
| |
saturation:Number (default = NaN ) — The saturation.
| |
brightness:Number (default = NaN ) — The brightness.
|
convertHSBtoRGB | () | yöntem |
public static function convertHSBtoRGB(hue:Number, saturation:Number, brightness:Number):uint
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Converts an HSB color specified by the parameters to a uint RGB color.
Parametreler
hue:Number — The hue.
| |
saturation:Number — The saturation.
| |
brightness:Number — The brightness.
|
uint — An RGB color.
|
convertRGBtoHSB | () | yöntem |
public static function convertRGBtoHSB(rgb:uint):HSBColor
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Converts a color from RGB format into an HSBColor.
Parametreler
rgb:uint — The RGB color.
|
HSBColor — The HSBColor object representing the RGB color.
|
Tue Jun 12 2018, 01:09 PM Z