Interface RasterPaint
- All Known Implementing Classes:
RasterGradient
public interface RasterPaint
What
RasterGraphics fills with when it is not a single color: a
gradient (RasterGradient) or your own pattern.-
Method Summary
Modifier and TypeMethodDescriptionintgetColor(double x, double y) Returns the non-premultiplied ARGB color at a point.
-
Method Details
-
getColor
int getColor(double x, double y) Returns the non-premultiplied ARGB color at a point.
Parameters
x: horizontal position in user space (before the graphics transform)y: vertical position in user space
Returns
the color at that point
-