Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgSolidColorPaint Class Reference

#include <qsvgpaintserver_p.h>

Inheritance diagram for QSvgSolidColorPaint:
Collaboration diagram for QSvgSolidColorPaint:

Public Member Functions

 QSvgSolidColorPaint (const QColor &color)
 ~QSvgSolidColorPaint () override
Type type () const override
const QColorqcolor () const
QBrush brush (QPainter *, const QSvgNode *, QSvgExtraStates &) override
Public Member Functions inherited from QSvgPaintServer
 QSvgPaintServer ()=default
virtual ~QSvgPaintServer ()

Additional Inherited Members

Public Types inherited from QSvgPaintServer
enum class  Type : qint8 { SolidColor , Gradient , Pattern }

Detailed Description

Definition at line 54 of file qsvgpaintserver_p.h.

Constructor & Destructor Documentation

◆ QSvgSolidColorPaint()

QSvgSolidColorPaint::QSvgSolidColorPaint ( const QColor & color)

Definition at line 14 of file qsvgpaintserver.cpp.

◆ ~QSvgSolidColorPaint()

QSvgSolidColorPaint::~QSvgSolidColorPaint ( )
overridedefault

Member Function Documentation

◆ brush()

QBrush QSvgSolidColorPaint::brush ( QPainter * ,
const QSvgNode * ,
QSvgExtraStates &  )
inlineoverridevirtual

Implements QSvgPaintServer.

Definition at line 84 of file qsvgpaintserver_p.h.

◆ qcolor()

const QColor & QSvgSolidColorPaint::qcolor ( ) const
inline

Definition at line 79 of file qsvgpaintserver_p.h.

◆ type()

QSvgPaintServer::Type QSvgSolidColorPaint::type ( ) const
inlineoverridevirtual

Implements QSvgPaintServer.

Definition at line 74 of file qsvgpaintserver_p.h.


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