KaeruColorOpacity extension

Chainable color channel and opacity setters.

on

Methods

o(double opacity) Color

Available on Color, provided by the KaeruColorOpacity extension

Sets the overall opacity.
sa(int opacity) Color

Available on Color, provided by the KaeruColorOpacity extension

Sets the alpha channel.
sb(int v) Color

Available on Color, provided by the KaeruColorOpacity extension

Sets the blue channel.
sg(int v) Color

Available on Color, provided by the KaeruColorOpacity extension

Sets the green channel.
sr(int v) Color

Available on Color, provided by the KaeruColorOpacity extension

Sets the red channel.