UI UI\Draw\Brush\Gradient::setStop
(UI 2.0.0)
UI\Draw\Brush\Gradient::setStop — 조작 중지
설명
public UI\Draw\Brush\Gradient::setStop(int $index
, float $position
, UI\Draw\Color $color
): bool
public UI\Draw\Brush\Gradient::setStop(int $index
, float $position
, int $color
): bool
매개변수
index
- 설정할 중지의 인덱스
position
- 중지의 위치
color
- 중지의 색상은 UI\Draw\Color 또는 RRGBBAA일 수 있습니다.
반환 값
성공의 표시