Class SurfaceRasterizer.Result
java.lang.Object
com.codename1.surfaces.SurfaceRasterizer.Result
- Enclosing class:
SurfaceRasterizer
The output of a rasterization pass: pixels, action hit rectangles and the next re-render
deadline.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the hit rectangles of every node that carries an action, in image pixels.int[]getArgb()Returns the width*height ARGB pixels of the rasterized image.getImage()Returns the rasterized image.longReturns 0 when the content is static; otherwise the epoch millis when a re-render is due -- a one second cadence while a timer countdown or a date-interval progress is visible, the next minute boundary for clock and relative text.
-
Method Details
-
getImage
Returns the rasterized image. -
getArgb
public int[] getArgb()Returns the width*height ARGB pixels of the rasterized image. -
getActions
Returns the hit rectangles of every node that carries an action, in image pixels. -
getNextTickMillis
public long getNextTickMillis()Returns 0 when the content is static; otherwise the epoch millis when a re-render is due -- a one second cadence while a timer countdown or a date-interval progress is visible, the next minute boundary for clock and relative text.
-