« UI\Draw\Brush\Gradient::delStop
UI\Draw\Brush\LinearGradient »

UI\Draw\Brush\Gradient::setStop

(UI 2.0.0)

UI\Draw\Brush\Gradient::setStop — Stop Manipulation

説明

public function UI\Draw\Brush\Gradient::setStop(int $index, float $position, UI\Draw\Color $color): bool
public function UI\Draw\Brush\Gradient::setStop(int $index, float $position, int $color): bool

パラメータ

index

The index of the stop to set

position

The position for the stop

color

The color for the stop, may be UI\Draw\Color or RRGGBBAA

戻り値

Indication of success

関連キーワード:
Draw   Brush   Gradient   setStop   index   color   Stop   Manipulation   position   stop   float   Color   delStop   LinearGradient   set position   Indication   success
関連する関数・ページ:
class.ui-draw-brush-gradient   ui-draw-brush-gradient.addstop   class.ui-draw-brush-lineargradient   ui-draw-brush-gradient.delstop   class.ui-draw-brush-radialgradient   ui-draw-brush.setcolor