Radial Color Replacement Filter
class RadialColorReplacementFilter(val colors: List<Color>, val center: Pair<Int, Int>? = null) : RGBImageFilter(source)
Replaces all colors with one of colors depending on the angle relative to center.
Parameters
colors
the colors that should be used, in clockwise order starting north-west
center
the center relative to which colors should be calculated; not required if only one color is given
Constructors
Properties
Functions
Link copied to clipboard
Represents a number in the range [0, 256)
as a fraction of that range.
Link copied to clipboard
Link copied to clipboard