The PrimitivePathGraphicsItem class.
More...
#include <primitivepathgraphicsitem.h>
◆ ShapeMode
Enumerator |
---|
None | No shape is set (empty area).
|
FilledOutline | Only the area within the painter path is used as shape.
|
StrokeAndAreaByLayer | Both the line stroke (with its specified width) and the filled area are used as shape, if the corresponding layers are set and visible.
|
◆ PrimitivePathGraphicsItem() [1/2]
◆ PrimitivePathGraphicsItem() [2/2]
◆ ~PrimitivePathGraphicsItem()
◆ setPosition()
void setPosition |
( |
const Point & |
pos | ) |
|
|
noexcept |
◆ setRotation()
void setRotation |
( |
const Angle & |
rot | ) |
|
|
noexcept |
◆ setMirrored()
void setMirrored |
( |
bool |
mirrored | ) |
|
|
noexcept |
◆ setPath()
void setPath |
( |
const QPainterPath & |
path | ) |
|
|
noexcept |
◆ setLineWidth()
◆ setLineLayer()
void setLineLayer |
( |
const std::shared_ptr< GraphicsLayer > & |
layer | ) |
|
|
noexcept |
◆ setFillLayer()
void setFillLayer |
( |
const std::shared_ptr< GraphicsLayer > & |
layer | ) |
|
|
noexcept |
◆ setLighterColors()
void setLighterColors |
( |
bool |
lighter | ) |
|
|
noexcept |
◆ setShapeMode()
◆ boundingRect()
QRectF boundingRect |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ shape()
QPainterPath shape |
( |
| ) |
const |
|
overridenoexcept |
◆ paint()
void paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ layerEdited()
◆ updateColors()
◆ updateBoundingRectAndShape()
void updateBoundingRectAndShape |
( |
| ) |
|
|
privatenoexcept |
◆ updateVisibility()
void updateVisibility |
( |
| ) |
|
|
privatenoexcept |
◆ convertColor()
QColor convertColor |
( |
const QColor & |
color | ) |
const |
|
privatenoexcept |
◆ mMirror
◆ mLineLayer
◆ mFillLayer
◆ mLighterColors
◆ mShapeMode
◆ mPen
◆ mPenHighlighted
◆ mBrush
◆ mBrushHighlighted
◆ mPainterPath
QPainterPath mPainterPath |
|
protected |
◆ mBoundingRect
◆ mBoundingRectMarginPx
qreal mBoundingRectMarginPx |
|
protected |
◆ mShape
◆ mOnLayerEditedSlot
The documentation for this class was generated from the following files: