gccv::FillItem Class Reference

Base class for filled items. More...

#include <fill-item.h>

Inheritance diagram for gccv::FillItem:

gccv::LineItem gccv::Item gccv::Circle gccv::Leaf gccv::Rectangle gccv::Text

List of all members.

Public Member Functions

 FillItem (Canvas *canvas)
 FillItem (Group *parent, ItemClient *client=NULL)
virtual ~FillItem ()
void SetFillColor (GOColor val)
GOColor GetFillColor (void) const


Detailed Description

Base class for filled items.

This class has just one important member: the fill color. Although it is not a virtual class, only derived objects should be used.

Definition at line 40 of file fill-item.h.


Constructor & Destructor Documentation

gccv::FillItem::FillItem ( Canvas canvas  ) 

Parameters:
canvas a Canvas.
Creates a new FillItem and sets it as a child of the root Group of canvas.

gccv::FillItem::FillItem ( Group parent,
ItemClient client = NULL 
)

Parameters:
parent the Group to which the new FillItem will be added.
client the ItemClient for the new FillItem if any.
Creates a new FillItem inside parent and sets client as its associated ItemClient.

virtual gccv::FillItem::~FillItem (  )  [virtual]

The destructor.


Member Function Documentation

gccv::FillItem::GetFillColor ( void   )  const [inline]

Returns:
the fill color for the item.

Definition at line 69 of file fill-item.h.

gccv::FillItem::SetFillColor ( GOColor  color  )  [inline]

Parameters:
color the new fill color.
Sets the fill color for the item.

Definition at line 69 of file fill-item.h.


The documentation for this class was generated from the following file:

Generated on Fri Sep 24 15:58:42 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9