Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface RasterPaint
Known subtypesRasterGradient
What
RasterGraphics fills with when it is not a single color: a
gradient (RasterGradient) or your own pattern.Methods
public abstract int getColor(double x, double y) | Returns the non-premultiplied ARGB color at a point. |
Method details
getColor
public abstract int getColor(double x, double y)Returns the non-premultiplied ARGB color at a point.
Parameters
xdouble- horizontal position in user space (before the graphics transform)
ydouble- vertical position in user space
Returns
the color at that point