In questa pagina

QCanvasGradientStop Struct

Una sosta graduale. Continua...

Intestazione: #include <QCanvasGradientStop>
CMake: find_package(Qt6 REQUIRED COMPONENTS CanvasPainter)
target_link_libraries(mytarget PRIVATE Qt6::CanvasPainter)
A partire da: Qt 6.11

Variabili pubbliche

QColor color
qreal position
QDataStream &operator<<(QDataStream &stream, const QCanvasGradientStop &stop)
QDataStream &operator>>(QDataStream &stream, QCanvasGradientStop &stop)

Descrizione dettagliata

Descrive un punto di interruzione in un'gradient.

Documentazione sulle variabili membro

QColor QCanvasGradientStop::color

Il colore del punto di arresto.

qreal QCanvasGradientStop::position

La posizione del punto di arresto.

Persone non iscritte correlate

QDataStream &operator<<(QDataStream &stream, const QCanvasGradientStop &stop)

Scrive il gradiente stop nell'stream specificato e restituisce un riferimento a stream.

Vedi anche Serializzazione dei tipi di dati Qt.

QDataStream &operator>>(QDataStream &stream, QCanvasGradientStop &stop)

Legge un gradiente stop dall'stream specificato e restituisce un riferimento a stream.

Vedi anche Serializzazione dei tipi di dati Qt.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.