[9:7] extends: FxObj
Color object stores a JavaFX Color object and provides functions to set it.
Color (string Val = null, double Alpha = 1.0
)
Creates a new Color object with the provied optional hex string and alpha double values.
Val
is an optional string with the web hex value to set. (ex. #ffffff)Alpha
is an optional double between 0 and 1 with the alpha value.this
objectweb (string Val, double Alpha = 1.0
)
Set the color value ith the provied hex string and optional alpha double values.
Val
is an optional string with the web hex value to set. (ex. #ffffff)Alpha
is an optional double between 0 and 1 with the alpha value.this
objectrgb (double Red, double Blue, double Green
)
Set the color value ith the provied red blue green values.
Red
is a double with the red part. (0.0-255.0)Blue
is a double with the blue part. (0.0-255.0)Green
is a double with the green part. (0.0-255.0)this
object