KHTML
Go to the documentation of this file.
22 #ifndef LinearGradientAttributes_h
23 #define LinearGradientAttributes_h
31 struct LinearGradientAttributes : GradientAttributes {
32 LinearGradientAttributes()
44 double x1()
const {
return m_x1; }
45 double y1()
const {
return m_y1; }
46 double x2()
const {
return m_x2; }
47 double y2()
const {
return m_y2; }
49 void setX1(
double value) { m_x1 = value; m_x1Set =
true; }
50 void setY1(
double value) { m_y1 = value; m_y1Set =
true; }
51 void setX2(
double value) { m_x2 = value; m_x2Set =
true; }
52 void setY2(
double value) { m_y2 = value; m_y2Set =
true; }
54 bool hasX1()
const {
return m_x1Set; }
55 bool hasY1()
const {
return m_y1Set; }
56 bool hasX2()
const {
return m_x2Set; }
57 bool hasY2()
const {
return m_y2Set; }
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.