/* * Copyright (c) 2018-2020, Andreas Kling * Copyright (c) 2021-2022, Sam Atkins * Copyright (c) 2022, MacDue * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::Painting { enum class ShadowPlacement { Outer, Inner, }; struct ShadowData { Gfx::Color color; CSSPixels offset_x; CSSPixels offset_y; CSSPixels blur_radius; CSSPixels spread_distance; ShadowPlacement placement; }; }