Back to Filament

VignetteOptions

docs/android/dokka/filament-android/com.google.android.filament/-view/-vignette-options/index.md

1.75.01.6 KB
Original Source

//filament-android/com.google.android.filament/View/VignetteOptions

VignetteOptions

[main]
open class VignetteOptions

Options to control the vignetting effect.

Constructors

VignetteOptions[main]
constructor()

Properties

NameSummary
color[main]
open var color: Array<Float>
color of the vignette effect, alpha is currently ignored
enabled[main]
open var enabled: Boolean
enables or disables the vignette effect
feather[main]
open var feather: Float
softening amount of the vignette effect, between 0 and 1
midPoint[main]
open var midPoint: Float
high values restrict the vignette closer to the corners, between 0 and 1
roundness[main]
open var roundness: Float
controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.