Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public static final class SlideRenderer.ElementState

  1. Object
  2. SlideRenderer.ElementState
How a slide show is showing an element partway through a build: its opacity, offset, scale and how much of it a wipe has revealed.

Fields

public float alphaThe opacity, 0 to 1.
public float dxThe horizontal offset in points.
public float dyThe vertical offset in points.
public float scaleThe scale about the element’s centre.
public float revealThe fraction revealed left to right by a wipe, 0 to 1.
public boolean hiddenTrue when the element is not painted at all.

Constructors

public ElementState()

Inherited methods

Field details

alpha

public float alpha
The opacity, 0 to 1.

dx

public float dx
The horizontal offset in points.

dy

public float dy
The vertical offset in points.

scale

public float scale
The scale about the element’s centre.

reveal

public float reveal
The fraction revealed left to right by a wipe, 0 to 1.

hidden

public boolean hidden
True when the element is not painted at all.

Constructor details

ElementState

public ElementState()