Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GradientType

Overview

GradientType은 그라디언트의 형태를 지정하는 Enum입니다.

UIGradient의 Type 속성에서 사용되며, 그라디언트가 어떤 모양으로 퍼져 나갈지를 결정합니다.

Items

Name
Value
Description

Linear

0

한 방향으로 색상이 변화합니다. 방향은 UIGradient의 Rotation으로 지정합니다.

Radial

1

중심에서 바깥쪽으로 퍼져 나가며 색상이 변화합니다. 대칭 형태이므로 Rotation 값은 결과에 영향을 주지 않습니다.

Conical

2

중심을 기준으로 시계 방향으로 돌며 색상이 변화합니다. UIGradient의 Rotation이 시작 각도가 됩니다.

Last updated