Class SlideRenderer.ElementState

java.lang.Object
com.codename1.presentation.SlideRenderer.ElementState
Enclosing class:
SlideRenderer

public static final class SlideRenderer.ElementState extends Object
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.
  • 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()