Class View.VignetteOptions

  • Enclosing class:
    View

    public static class View.VignetteOptions
    extends java.lang.Object
    Options to control the vignetting effect.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float[] color
      color of the vignette effect, alpha is currently ignored
      boolean enabled
      enables or disables the vignette effect
      float feather
      softening amount of the vignette effect, between 0 and 1
      float midPoint
      high values restrict the vignette closer to the corners, between 0 and 1
      float roundness
      controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.0)
    • Constructor Summary

      Constructors 
      Constructor Description
      VignetteOptions()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • midPoint

        public float midPoint
        high values restrict the vignette closer to the corners, between 0 and 1
      • roundness

        public float roundness
        controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.0)
      • feather

        public float feather
        softening amount of the vignette effect, between 0 and 1
      • color

        @NonNull
        @Size(min=4L)
        public float[] color
        color of the vignette effect, alpha is currently ignored
      • enabled

        public boolean enabled
        enables or disables the vignette effect
    • Constructor Detail

      • VignetteOptions

        public VignetteOptions()