Delphi To Java code conversion: image.canvas.pixels
Posted
by Mattl
on Stack Overflow
See other posts from Stack Overflow
or by Mattl
Published on 2010-03-15T12:32:31Z
Indexed on
2010/03/15
12:39 UTC
Read the original article
Hit count: 221
I'm trying to convert an old Delphi program I wrote into Java to compile and run on my Android phone. I'm running the Android 2.1 operating system but am using version 1.6 of the SDK.
I have a routine in Delphi where I set the colour of pixels on a canvas individually along the lines of:
image1.canvas.pixels[x, y] := GetMyTColor(x, y);
Is there a Java equivalent to the property on the Canvas:
property Pixels[X, Y: Integer]: TColor
© Stack Overflow or respective owner