operator - method

  1. @override
DecorPaint operator -(
  1. DecorPaint operand
)
override

Implementation

@override
DecorPaint operator -(DecorPaint operand) {
  return DecorPaint.int(
    (Color(value) - Color(operand.value)).value,
    stop - operand.stop,
  );
}