setAlpha

open fun setAlpha(part: RenderPart, alpha: <Error class: unknown class>)

Sets the alpha for part of the rendering.

Note that the alpha may only be used if a color is specified for @part as well.

Since

1.38

Parameters

part

the part to set the alpha for

alpha

an alpha value between 1 and 65536, or 0 to unset the alpha