MonobjcMonobjc Documented Class Library
SetPixelAtXy Method (pixelData, x, y)
NamespacesMonobjc.AppKitNSBitmapImageRepSetPixelAtXy(array<NSUInteger>[]()[][], NSInteger, NSInteger)

Sets the receiver's pixel at the specified coordinates to the specified raw pixel values.

Original signature is '- (void)setPixel:(NSUInteger[])pixelData atX:(NSInteger)x y:(NSInteger)y'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetPixelAtXy(
	NSUInteger[] pixelData,
	NSInteger x,
	NSInteger y
)
Public Overridable Sub SetPixelAtXy ( _
	pixelData As NSUInteger(), _
	x As NSInteger, _
	y As NSInteger _
)
public:
virtual void SetPixelAtXy(
	array<NSUInteger>^ pixelData, 
	NSInteger x, 
	NSInteger y
)
Parameters
pixelData (array<NSUInteger>[]()[][])
An array of integers representing the raw pixel values. The values must be in an order appropriate to the receiver's bitmapFormat. Small pixel sample values should be passed as an integer value. Floating point values should be cast int[].
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)