Go to the documentation of this file.
24#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
25#include "SVGRenderTreeAsText.h"
30SVGFEFlood::SVGFEFlood(SVGResourceFilter* filter)
31 : SVGFilterEffect(filter)
33 , m_floodOpacity(0.0f)
37Color SVGFEFlood::floodColor()
const
42void SVGFEFlood::setFloodColor(
const Color& color)
47float SVGFEFlood::floodOpacity()
const
49 return m_floodOpacity;
52void SVGFEFlood::setFloodOpacity(
float floodOpacity)
54 m_floodOpacity = floodOpacity;
57TextStream& SVGFEFlood::externalRepresentation(TextStream& ts)
const
59 ts <<
"[type=FLOOD] ";
60 SVGFilterEffect::externalRepresentation(ts);
61 ts <<
" [color=" << floodColor() <<
"]"
62 <<
" [opacity=" << floodOpacity() <<
"]";
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.