Ardillo\DrawBrushGradientStop

Description

Ardillo base DrawBrushGradientStop class.

Properties

DrawBrushGradientStop::$app

Associated App instance

  • type: App

Methods

DrawBrushGradientStop::getPos()

Returns stop’s position

Returns float

DrawBrushGradientStop::setPos(float $pos)

Sets the stop’s position

  • float $pos: The stop’s position

DrawBrushGradientStop::getColor()

Returns stop’s color

Returns Color

DrawBrushGradientStop::setColor(Color $color)

Sets the stop’s color

  • Color $color: The stop’s color