lightenBy method

Brush lightenBy([
  1. num? fraction,
  2. EnumValue? mode
])

Modifies all colors within this Brush, lightening them by some fraction. @param {number=} fraction Fraction to lighten the colors by. Defaults to 0.2, must be between 0 and 1 (inclusive). @param {EnumValue=} mode Color space to use for adjusting. Must be Brush.Lab or Brush.HSL, defaults to Brush.Lab. @return {Brush} This Brush with modified color values. @since 1.7

Implementation

_i3.Brush lightenBy([
  _i2.num? fraction,
  _i3.EnumValue? mode,
]) =>
    _i4.callMethod(
      this,
      'lightenBy',
      [
        fraction ?? _i5.undefined,
        mode ?? _i5.undefined,
      ],
    );