php8.5
Home/ Manual/ draw / brush.lineargradient/ UI\Draw\Brush\LinearGradient::__construct

UI\Draw\Brush\LinearGradient::__construct

PHP function Edit on GitHub ✎

(UI 2.0.0)

Construct a Linear Gradient

Description

UI\Draw\Brush\LinearGradient::__construct(UI\Point $start, UI\Point $end)

Shall construct a new linear gradient

Parameters

start
end

Source: reference/ui/ui/draw/brush.lineargradient/construct.xml · from the official PHP manual (php/doc-en)