| Package | vegas.colors |
| Class | public class LightColor |
| Inheritance | LightColor Color Object |
Example :
import vegas.colors.LightColor;
var c:LightColor = new LightColor( display ) ;
c.brightness = 255 ;
| Property | Defined By | ||
|---|---|---|---|
| brightness : Number
Indicates the bright between 0 and 100 of the DisplayObject. | LightColor | ||
| brightOffset : Number
Indicates the bright between -255 and 255 of the DisplayObject. | LightColor | ||
![]() | colorTransform : ColorTransform
A ColorTransform object containing values that universally adjust the colors in the display object. | Color | |
| contrast : Number
Indicates the contrast value (percent) of the DisplayObject. | LightColor | ||
![]() | display : DisplayObject [read-only]
The DisplayObject reference of this object. | Color | |
| negative : Number
Indicates the negative value of the DisplayObject. | LightColor | ||
![]() | rgb : *
Indicates the R+G+B combination currently in use by the color object. | Color | |
| Method | Defined By | ||
|---|---|---|---|
LightColor(display:DisplayObject)
Creates a new LightColor instance. | LightColor | ||
![]() | getRGB():Number
Returns the R+G+B combination currently in use by the color object
| Color | |
![]() | getTransform():Object
Returns the transform value set by the last setTransform() call. | Color | |
![]() | invert():void
Inverts the color of the specified Color reference in argument. | Color | |
![]() | reset():void
Resets the color of the specified Color reference in argument, the MovieClip display the original view since Color transformation. | Color | |
![]() | setRGB(hex:*):void
Specifies an RGB color for a Color object. | Color | |
![]() | setTransform(transformObject:Object):void
Sets color transform information for a Color object. | Color | |
![]() | toRGBString():String
Returns the string representation of the passed color with ECMAScript formatting (0xrrggbb). | Color | |
| brightness | property |
brightness:NumberIndicates the bright between 0 and 100 of the DisplayObject.
public function get brightness():Number public function set brightness(value:Number):void| brightOffset | property |
brightOffset:NumberIndicates the bright between -255 and 255 of the DisplayObject.
public function get brightOffset():Number public function set brightOffset(value:Number):void| contrast | property |
contrast:NumberIndicates the contrast value (percent) of the DisplayObject.
public function get contrast():Number public function set contrast(value:Number):void| negative | property |
negative:NumberIndicates the negative value of the DisplayObject.
public function get negative():Number public function set negative(value:Number):void| LightColor | () | Constructor |
public function LightColor(display:DisplayObject)Creates a new LightColor instance.
Parametersdisplay:DisplayObject — a DisplayObject reference.
|