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