MonobjcMonobjc Documented Class Library
SetColorAtXy Method (color, x, y)
NamespacesMonobjc.AppKitNSBitmapImageRepSetColorAtXy(NSColor, NSInteger, NSInteger)

Changes the color of the pixel at the specified coordinates.

Original signature is '- (void)setColor:(NSColor *)color atX:(NSInteger)x y:(NSInteger)y'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetColorAtXy(
	NSColor color,
	NSInteger x,
	NSInteger y
)
Public Overridable Sub SetColorAtXy ( _
	color As NSColor, _
	x As NSInteger, _
	y As NSInteger _
)
public:
virtual void SetColorAtXy(
	NSColor^ color, 
	NSInteger x, 
	NSInteger y
)
Parameters
color (NSColor)
A color object representing the color to be set.
x (NSInteger)
The x-axis coordinate of the pixel.
y (NSInteger)
The y-axis coordinate of the pixel.
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)