Class SurfaceRasterizer.ActionRect

java.lang.Object
com.codename1.surfaces.SurfaceRasterizer.ActionRect
Enclosing class:
SurfaceRasterizer

public static class SurfaceRasterizer.ActionRect extends Object
The absolute bounds of a node that carries a tap action, in pixels of the rasterized image.
  • Method Details

    • getX

      public int getX()
      Returns the left edge in pixels.
    • getY

      public int getY()
      Returns the top edge in pixels.
    • getWidth

      public int getWidth()
      Returns the width in pixels.
    • getHeight

      public int getHeight()
      Returns the height in pixels.
    • getActionId

      public String getActionId()
      Returns the app-defined action id.
    • getParams

      public Map<String,Object> getParams()
      Returns the action parameters, or null.