C# Class RemObjects.TwinPeaks.OSX.TPSlightGradientBackgroundView

Inheritance: NSView
Mostrar archivo Open project: remobjects/TwinPeaks

Public Methods

Method Description
createGradientImageWidth ( CGFloat pixelsWide ) : NSImage
drawRect ( NSRect dirtyRect ) : void

Private Methods

Method Description
fromColor ( NSColor fromColor ) : AppKit
height ( CGFloat pixelsHigh ) : AppKit
imageFromCGImageRef ( CGImageRef image ) : NSImage
toColor ( NSColor toColor ) : AppKit

Method Details

createGradientImageWidth() public static method

public static createGradientImageWidth ( CGFloat pixelsWide ) : NSImage
pixelsWide CGFloat
return NSImage

drawRect() public method

public drawRect ( NSRect dirtyRect ) : void
dirtyRect NSRect
return void