GradientPaint

Base interface for gradient paints.

GradientPaint interface

Base interface for gradient paints.

Signature:

interface GradientPaint

Properties

Property

Modifiers

Type

Description

end

readonly

Animatable<Vector>

The end point of the gradient

start

readonly

Animatable<Vector>

The start point of the gradient

stops

readonly

Animatable<ColorStops>

Array of color stops defining the gradient

Methods

Method

Description

remove()

Removes the paint from the container it is applied to

Last updated: August 5, 2026 at 11:47 AMEdit this page