1 Ht DP Teachpacks
2 Ht DC Teachpacks
Version: 4.0.2

 

2.2 Colors: colors.*

Add

   import colors.*

at the top of your Definitions Window to import this library.

This package provides classes for representing colors:

                        +--------+

                        | IColor |

                        +--------+

                            |

                           / \

                           ---

                            |

       --------------------------------------------------

       |          |         |         |         |       |

   +-------+  +-------+ +-------+ +-------+ +-------+  +-------+

   | Blue  |  | Green | | Red   | | White | | Yellow|  | Black |

   +-------+  +-------+ +-------+ +-------+ +-------+  +-------+

IColor is an interface. Its variants are created with no arguments.