Color to FxColor

To convert from AWT to AFC, instances of java.awt.Color should be transformed into instances of com.ms.fx.FxColor.

Purpose and Usage

FxColor extends from Color, so none of your older work needs to change. However, using FxColor allows you to use extensible objects in place of a Color in a graphics context. Using FxColor allows you to take advantage of FxFill, FxTexture, FxPen, and other extended Color classes. This allows you to build fill objects, create drawing pens, use images to fill shapes and background effects, and develop other kinds of graphical objects.

Porting

FxColor extends Color, so no changes need to be made to create AFC applications. It is recommended, though, that you change Color instances to FxColor instances.