Package com.google.android.filament
Class View.VignetteOptions
- java.lang.Object
-
- com.google.android.filament.View.VignetteOptions
-
- Enclosing class:
- View
public static class View.VignetteOptions extends java.lang.ObjectOptions to control the vignetting effect.
-
-
Field Summary
Fields Modifier and Type Field Description float[]colorcolor of the vignette effect, alpha is currently ignoredbooleanenabledenables or disables the vignette effectfloatfeathersoftening amount of the vignette effect, between 0 and 1floatmidPointhigh values restrict the vignette closer to the corners, between 0 and 1floatroundnesscontrols 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()
-
-
-
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
-
-