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 as a linear RGBA color.
      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). The value must be between 0 and 1.
      • 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 as a linear RGBA color. The alpha channel is currently ignored.
      • enabled

        public boolean enabled
        Enables or disables the vignette effect.
    • Constructor Detail

      • VignetteOptions

        public VignetteOptions()