LinearGradient QML Type

선형 그라데이션. 더 보기...

Import Statement: import QtQuick.Shapes 1.8
Inherits:

ShapeGradient

속성

  • x1 : real
  • x2 : real
  • y1 : real
  • y2 : real

자세한 설명

선형 그라데이션은 도형 항목의 시작점과 끝점 사이의 색상을 보간합니다. 이 지점 밖에서는 그라데이션이 확산 유형에 따라 패딩, 반사 또는 반복됩니다.

참고: 선형 그라디언트는 도형 항목과 함께 사용할 때만 지원됩니다. Gradient 만 지원하므로 Rectangle 와는 호환되지 않습니다.

QLinearGradient참조하세요 .

속성 문서

x1 : real

x2 : real

y1 : real

y2 : real

이러한 속성은 색상 보간이 발생하는 시작점과 끝점을 정의합니다. 기본적으로 두 점 모두 (0, 0)으로 설정됩니다.


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