opacify

open override fun opacify(factor: Double): ColorRGBa(source)

Creates a copy of color with adjusted opacity

Return

A ColorRGBa with scaled opacity

Parameters

factor

a scaling factor used for the opacity

See also