# Gimp.CMYK.set

    @accepts(Gimp.CMYK, float, float, float, float)
    @returns(none)
    def set(self, cyan, magenta, yellow, black):
        # Python wrapper for gimp_cmyk_set()

Very basic initialiser for the internal Gimp.CMYK structure. Channel values are doubles in the range 0 to 1.

self

  A Gimp.CMYK structure which will hold the specified CMYK value.

cyan

  The Cyan channel of the CMYK value

magenta

  The Magenta channel

yellow

  The Yellow channel

black

  The blacK channel