# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSColor < Cocoa::NSObject
    attach_method :CGColor, :args=>0, :names=>[], :types=>[], :retval=>"^{CGColor=}"
    attach_method :alphaComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :alternateSelectedControlColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :alternateSelectedControlTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :blackColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :blackComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :blendedColorWithFraction, :args=>2, :names=>[:ofColor], :types=>["d", "@"], :retval=>"@"
    attach_singular_method :blueColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :blueComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :brightnessComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :brownColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :catalogNameComponent, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :clearColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :colorForControlTint, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
    attach_singular_method :colorFromPasteboard, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :colorNameComponent, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :colorSpace, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :colorSpaceName, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :colorUsingColorSpace, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :colorUsingColorSpaceName, [{:args=>1, :names=>[], :types=>["@"], :retval=>"@"}, {:args=>2, :names=>[:device], :types=>["@", "@"], :retval=>"@"}]
    attach_method :colorWithAlphaComponent, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :colorWithCGColor, :args=>1, :names=>[], :types=>["^{CGColor=}"], :retval=>"@"
    attach_singular_method :colorWithCIColor, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_singular_method :colorWithCalibratedHue, :args=>4, :names=>[:saturation, :brightness, :alpha], :types=>["d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :colorWithCalibratedRed, :args=>4, :names=>[:green, :blue, :alpha], :types=>["d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :colorWithCalibratedWhite, :args=>2, :names=>[:alpha], :types=>["d", "d"], :retval=>"@"
    attach_singular_method :colorWithCatalogName, :args=>2, :names=>[:colorName], :types=>["@", "@"], :retval=>"@"
    attach_singular_method :colorWithColorSpace, :args=>3, :names=>[:components, :count], :types=>["@", "^d", "q"], :retval=>"@"
    attach_singular_method :colorWithDeviceCyan, :args=>5, :names=>[:magenta, :yellow, :black, :alpha], :types=>["d", "d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :colorWithDeviceHue, :args=>4, :names=>[:saturation, :brightness, :alpha], :types=>["d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :colorWithDeviceRed, :args=>4, :names=>[:green, :blue, :alpha], :types=>["d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :colorWithDeviceWhite, :args=>2, :names=>[:alpha], :types=>["d", "d"], :retval=>"@"
    attach_singular_method :colorWithGenericGamma22White, :args=>2, :names=>[:alpha], :types=>["d", "d"], :retval=>"@"
    attach_singular_method :colorWithPatternImage, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_singular_method :colorWithSRGBRed, :args=>4, :names=>[:green, :blue, :alpha], :types=>["d", "d", "d", "d"], :retval=>"@"
    attach_singular_method :controlAlternatingRowBackgroundColors, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlDarkShadowColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlHighlightColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlLightHighlightColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlShadowColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :controlTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :currentControlTint, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_singular_method :cyanColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :cyanComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :darkGrayColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :disabledControlTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :drawSwatchInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
    attach_method :getComponents, :args=>1, :names=>[], :types=>["^d"], :retval=>"v"
    attach_method :getCyan, :args=>5, :names=>[:magenta, :yellow, :black, :alpha], :types=>["^d", "^d", "^d", "^d", "^d"], :retval=>"v"
    attach_method :getHue, :args=>4, :names=>[:saturation, :brightness, :alpha], :types=>["^d", "^d", "^d", "^d"], :retval=>"v"
    attach_method :getRed, :args=>4, :names=>[:green, :blue, :alpha], :types=>["^d", "^d", "^d", "^d"], :retval=>"v"
    attach_method :getWhite, :args=>2, :names=>[:alpha], :types=>["^d", "^d"], :retval=>"v"
    attach_singular_method :grayColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :greenColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :greenComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :gridColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :headerColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :headerTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :highlightColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :highlightWithLevel, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :hueComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :ignoresAlpha, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_singular_method :keyboardFocusIndicatorColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :knobColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :lightGrayColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :localizedCatalogNameComponent, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :localizedColorNameComponent, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :magentaColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :magentaComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :numberOfComponents, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_singular_method :orangeColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :patternImage, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :purpleColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :redColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :redComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :saturationComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :scrollBarColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :secondarySelectedControlColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedControlColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedControlTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedKnobColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedMenuItemColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedMenuItemTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedTextBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :selectedTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :set, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :setFill, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_singular_method :setIgnoresAlpha, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setStroke, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_singular_method :shadowColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :shadowWithLevel, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :textBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :textColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :underPageBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :whiteColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :whiteComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :windowBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :windowFrameColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :windowFrameTextColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :writeToPasteboard, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :yellowColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :yellowComponent, :args=>0, :names=>[], :types=>[], :retval=>"d"
  end
end
