public static class SurfaceRasterizer.ActionRect

  1. Object
  2. SurfaceRasterizer.ActionRect
The absolute bounds of a node that carries a tap action, in pixels of the rasterized image.

Methods

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

Inherited methods

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.