Polygon Class Reference

#include <Polygon.hpp>

Inheritance diagram for Polygon:

Inheritance graph
[legend]
Collaboration diagram for Polygon:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class defines a simple line between a set of points.

The line can have a user defined appearance, specified using a StrokeStyle.

Definition at line 48 of file Polygon.hpp.

Public Member Functions

 Polygon (const Path &iPath)
 Constructor.
 Polygon (const Path &iPath, const StrokeStyle &istyle)
 Constructor.
 Polygon (const Path &iPath, const StrokeStyle &istyle, const Color &iFillColor)
 Constructor.
 Polygon (const Path &iPath, const Color &iFillColor)
 Constructor.


Constructor & Destructor Documentation

Polygon const Path iPath  )  [inline]
 

Constructor.

Creates a polygon from given set of points. No fill color nor line style has been specified.

Parameters:
iPath List of vertices

Definition at line 57 of file Polygon.hpp.

Polygon const Path iPath,
const StrokeStyle istyle
[inline]
 

Constructor.

Creates a polygon from given set of points, and specifies the appearance of the polygon edges. No fill color is specified.

Parameters:
iPath List of vertices
istyle appearance of the edges

Definition at line 68 of file Polygon.hpp.

Polygon const Path iPath,
const StrokeStyle istyle,
const Color iFillColor
[inline]
 

Constructor.

Creates a polygon from given set of points, and specifies the appearance of the polygon edges and the fill color.

Parameters:
iPath List of vertices
istyle appearance of the edges
iFillColor color inside the polygon

Definition at line 80 of file Polygon.hpp.

Polygon const Path iPath,
const Color iFillColor
[inline]
 

Constructor.

Creates a polygon from given set of points, and specifies the appearance of the fill color.

Parameters:
iPath List of vertices
iFillColor color inside the polygon

Definition at line 92 of file Polygon.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Feb 7 03:31:25 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1