MonobjcMonobjc Documented Class Library
GetWhiteAlpha Method (white, alpha)
NamespacesMonobjc.AppKitNSColorGetWhiteAlpha(CGFloat%, CGFloat%)

Returns the receiver’s grayscale value and alpha values.

Original signature is '- (void)getWhite:(CGFloat *)white alpha:(CGFloat *)alpha'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetWhiteAlpha(
	out CGFloat white,
	out CGFloat alpha
Public Overridable Sub GetWhiteAlpha ( _
	<OutAttribute> ByRef white As CGFloat, _
	<OutAttribute> ByRef alpha As CGFloat _
virtual void GetWhiteAlpha(
	[OutAttribute] CGFloat% white, 
	[OutAttribute] CGFloat% alpha
white (CGFloat%)
Upon return, contains the grayscale value of the color object.
alpha (CGFloat%)
Upon return, contains the opacity value of the color object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)