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
- Object
- 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 alpha | The opacity, 0 to 1. |
public float dx | The horizontal offset in points. |
public float dy | The vertical offset in points. |
public float scale | The scale about the element’s centre. |
public float reveal | The fraction revealed left to right by a wipe, 0 to 1. |
public boolean hidden | True when the element is not painted at all. |
Constructors
public ElementState() |
Inherited methods
Field details
alpha
public float alphaThe opacity, 0 to 1.
dx
public float dxThe horizontal offset in points.
dy
public float dyThe vertical offset in points.
scale
public float scaleThe scale about the element’s centre.
reveal
public float revealThe fraction revealed left to right by a wipe, 0 to 1.
Constructor details
ElementState
public ElementState()