operator - method

DecorPaint operator -(
  1. DecorPaint operand
)
override

Implementation

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