# 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 Summary

  Modifier and Type
  Method
  Description
  `String`
  `getActionId()`
  Returns the app-defined action id.
  `int`
  `getHeight()`
  Returns the height in pixels.
  `Map<String,Object>`
  `getParams()`
  Returns the action parameters, or null.
  `int`
  `getWidth()`
  Returns the width in pixels.
  `int`
  `getX()`
  Returns the left edge in pixels.
  `int`
  `getY()`
  Returns the top edge in pixels.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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.