패키지 | mx.utils |
클래스 | public final class HSBColor |
상속 | HSBColor Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
속성 | 정의 주체 | ||
---|---|---|---|
brightness : Number
The brightness parameter for this HSB color. | HSBColor | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
hue : Number
The hue value for the HSB color. | HSBColor | ||
saturation : Number
The saturation parameter for this HSB color. | HSBColor |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructs an HSBColor with optional parameters. | HSBColor | ||
[정적]
Converts an HSB color specified by the parameters to a
uint RGB color. | HSBColor | ||
[정적]
Converts a color from RGB format into an HSBColor. | HSBColor | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
brightness | 속성 |
brightness:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
구현
public function get brightness():Number
public function set brightness(value:Number):void
hue | 속성 |
hue:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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).
구현
public function get hue():Number
public function set hue(value:Number):void
saturation | 속성 |
saturation:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
구현
public function get saturation():Number
public function set saturation(value:Number):void
HSBColor | () | 생성자 |
public function HSBColor(hue:Number = NaN, saturation:Number = NaN, brightness:Number = NaN)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Constructs an HSBColor with optional parameters.
매개 변수hue:Number (default = NaN ) — The hue.
| |
saturation:Number (default = NaN ) — The saturation.
| |
brightness:Number (default = NaN ) — The brightness.
|
convertHSBtoRGB | () | 메서드 |
public static function convertHSBtoRGB(hue:Number, saturation:Number, brightness:Number):uint
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Converts an HSB color specified by the parameters to a uint RGB color.
매개 변수
hue:Number — The hue.
| |
saturation:Number — The saturation.
| |
brightness:Number — The brightness.
|
uint — An RGB color.
|
convertRGBtoHSB | () | 메서드 |
Tue Jun 12 2018, 03:17 PM Z