Next / Previous / Contents / TCC Help System / NM Tech homepage

10.1. CMYModel.__init__()

This constructor calls the parent class constructor and supplies the name of the model and the names of its three parameters. See Section 7, “class ColorModel: Base class for color models”.

huey
# - - -   C M Y M o d e l . _ _ i n i t _ _

    def __init__ ( self ):
        """Constructor for CMYModel."""
        ColorModel.__init__ ( self, "CMY",
          ("cyan", "yellow", "magenta") )