이 페이지에서

ShapeGradient QML Type

Shape 채우기 그라데이션의 기본 유형. 더 보기...

Import Statement: import QtQuick.Shapes 1.12
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

속성

상세 설명

이 클래스는 LinearGradient 와 같은 그라디언트를 위한 추상 기본 클래스이며, 직접 생성할 수 없습니다. 이 클래스는 스프레드 모드와 같은 속성을 포함하여 Gradient 를 상속합니다.

속성 설명

spread : enumeration

그라데이션 영역 외부의 영역을 어떻게 채울지 지정합니다. 기본값은 ‘ ShapeGradient.PadSpread ’입니다.

상수설명
ShapeGradient.PadSpread해당 영역은 가장 가까운 스톱 색상으로 채워집니다.
ShapeGradient.RepeatSpread그라데이션 영역 밖에서 그라데이션이 반복됩니다.
ShapeGradient.ReflectSpread그라디언트가 그라디언트 영역 바깥쪽으로 반사됩니다.

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