Engauge Digitizer 2
Loading...
Searching...
No Matches
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.
 
 GhostPolygon (const GhostPolygon &other)
 Copy constructor.
 
GhostPolygonoperator= (const GhostPolygon &other)
 Assignment operator.
 
QBrush brush () const
 Get method for brush.
 
QPen pen () const
 Get method for pen.
 
QPolygonF polygon () const
 Get method for polygon.
 

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: