このページでは

QCanvasGradientStop Struct

グラデーションストップ。詳細...

ヘッダー: #include <QCanvasGradientStop>
CMake: find_package(Qt6 REQUIRED COMPONENTS CanvasPainter)
target_link_libraries(mytarget PRIVATE Qt6::CanvasPainter)
以下より: Qt 6.11

パブリック変数

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

詳細な説明

gradient における停止点を説明します。

メンバ変数のドキュメント

QColor QCanvasGradientStop::color

停止ポイントの色。

qreal QCanvasGradientStop::position

ストップポイントの位置。

関連する非会員

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

グラデーション「stop 」を指定された「stream 」に書き込み、「stream 」への参照を返します。

「Qt データ型のシリアライズ」も参照してください 。

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

指定されたstream からグラデーションstop を読み取り、stream への参照を返します。

「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.