NillGradients extension
A wrapper for retrieving transparent, empty Gradient
s appropriate for
smooth GradientTween
s.
Though all are transparent, consider that some have other properties set
as well; such as the start and end angle for sweep both being ~0
or the radius
of radial being 0
.
The getter asNill is an extended property for an instantiated Gradient
.
It refers to the static method nillify, which may be called as:
NillGradients.nillify(Type type)
- on
Static Properties
- linear → LinearGradient
-
An empty, transparent LinearGradient.
no setter
- radial → RadialGradient
-
An empty, transparent RadialGradient.
no setter
- stepsLinear → LinearSteps
-
An empty, transparent LinearSteps.
no setter
- stepsRadial → RadialSteps
-
An empty, transparent RadialSteps.
no setter
- stepsSweep → SweepSteps
-
An empty, transparent SweepSteps.
no setter
- sweep → SweepGradient
-
An empty, transparent SweepGradient.
no setter