Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming, for Free

Programs to Analyze [2/10]

This program uses a functional getter .seta from type color.

The signature of functional getter color.seta is:

  • colorA color.seta(
    • num alpha
    • )

The parameter alpha sets the desired transparency of the resulting color, which is returned as a value of type colorA. This parameter must be in the range 0-100.

Loading...