ColorGradient QML Type
색상 그라데이션을 정의합니다. 더 보기...
Import Statement: | import QtDataVisualization 1.8 |
Since: | QtDataVisualization 1.0 |
속성
- stops : list<ColorGradientStop>
자세한 설명
그라데이션은 두 가지 이상의 색상으로 정의되며, 이 색상은 매끄럽게 혼합됩니다.
색상은 ColorGradientStop 하위 항목의 집합으로 지정되며, 각 하위 항목은 0.0에서 1.0 사이의 그라데이션 위치와 색상을 정의합니다. 각 ColorGradientStop 의 위치는 position 속성을 설정하여 정의하고 색상은 color 속성을 사용하여 정의합니다.
그라디언트 스톱이 없는 그라디언트는 0.0은 검정색, 1.0은 흰색인 QLinearGradient 기본값으로 돌아갑니다.
ColorGradientStop 를참조하세요 .
속성 문서
stops : list<ColorGradientStop> |
이 속성은 그라데이션을 설명하는 그라데이션 스톱을 보유합니다.
기본적으로 이 속성에는 빈 목록이 포함되어 있습니다.
그라디언트 스톱을 설정하려면 ColorGradient 의 하위 항목으로 정의합니다.
© 2025 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.