Effects

external interface Effects(source)

The window effects configuration object

Since

2.0.0

Properties

Link copied to clipboard
abstract var color: Color?

Window effect color. Affects {@link Effect.Blur} and {@link Effect.Acrylic} only on Windows 10 v1903+. Doesn't have any effect on Windows 7 or Windows 11.

Link copied to clipboard
abstract var effects: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<tauri/apps/api/Effect>

List of Window effects to apply to the Window. Conflicting effects will apply the first one and ignore the rest.

Link copied to clipboard
abstract var radius: Double?

Window effect corner radius macOS Only

Link copied to clipboard
abstract var state: EffectState?

Window effect state macOS Only