Engauge Digitizer 2
Public Member Functions | List of all members
GhostPolygon Class Reference

Ghost for a QGraphicsPolygonItem. More...

#include <GhostPolygon.h>

Public Member Functions

 GhostPolygon (const QPolygonF &polygon, const QPen &pen, const QBrush &brush)
 Initial constructor. More...
 
 GhostPolygon (const GhostPolygon &other)
 Copy constructor. More...
 
GhostPolygonoperator= (const GhostPolygon &other)
 Assignment operator. More...
 
QBrush brush () const
 Get method for brush. More...
 
QPen pen () const
 Get method for pen. More...
 
QPolygonF polygon () const
 Get method for polygon. More...
 

Detailed Description

Ghost for a QGraphicsPolygonItem.

Definition at line 15 of file GhostPolygon.h.

Constructor & Destructor Documentation

◆ GhostPolygon() [1/2]

GhostPolygon::GhostPolygon ( const QPolygonF &  polygon,
const QPen &  pen,
const QBrush &  brush 
)

Initial constructor.

Definition at line 9 of file GhostPolygon.cpp.

◆ ~GhostPolygon()

GhostPolygon::~GhostPolygon ( )

Definition at line 34 of file GhostPolygon.cpp.

◆ GhostPolygon() [2/2]

GhostPolygon::GhostPolygon ( const GhostPolygon other)

Copy constructor.

Definition at line 18 of file GhostPolygon.cpp.

Member Function Documentation

◆ brush()

QBrush GhostPolygon::brush ( ) const

Get method for brush.

Definition at line 38 of file GhostPolygon.cpp.

◆ operator=()

GhostPolygon & GhostPolygon::operator= ( const GhostPolygon other)

Assignment operator.

Definition at line 25 of file GhostPolygon.cpp.

◆ pen()

QPen GhostPolygon::pen ( ) const

Get method for pen.

Definition at line 43 of file GhostPolygon.cpp.

◆ polygon()

QPolygonF GhostPolygon::polygon ( ) const

Get method for polygon.

Definition at line 48 of file GhostPolygon.cpp.


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