콘텐츠로 이동

Effects

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/window · Kind Interface

import { Effects } from '@netwiv/api/window';

The window effects configuration object

color?: Color | undefined

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.

effects: Effect[]

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

radius?: number | undefined

Window effect corner radius macOS Only

state?: EffectState | undefined

Window effect state macOS Only

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.