Class zebkit.draw.Gradient
extends <zebkit.draw.View>
<zebkit.draw>

Vertical or horizontal linear gradient view

Constructor:
zebkit.draw.Gradient (startColor, endColor, [type])

Parameters:
  • startColor <String>

    start color

  • endColor <String>

    end color

  • [type] <String>

    type of gradient "vertical" or "horizontal"




public <Array> colors

Gradient start and stop colors

public <String> orient

Gradient orientation: vertical or horizontal