NAME

Qt::Gui::QGraphicsPolygonItem

PUBLIC METHODS

QGraphicsPolygonItem(QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsPolygonItem(QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsPolygonItem(QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
QGraphicsPolygonItem(const QPolygonF & polygon, QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsPolygonItem(const QPolygonF & polygon, QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsPolygonItem(const QPolygonF & polygon, QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
~QGraphicsPolygonItem()
QRectF boundingRect()
bool contains(const QPointF & point)
Qt::FillRule fillRule()
bool isObscuredBy(const QGraphicsItem * item)
QPainterPath opaqueArea()
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0)
QPolygonF polygon()
void setFillRule(Qt::FillRule rule)
void setPolygon(const QPolygonF & polygon)
QPainterPath shape()
int type()

ENUM VALUES

Type

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html