castTo method

ColorModel castTo(
  1. ColorModel other
)
inherited

Converts this color to other's color space.

Implementation

ColorModel castTo(ColorModel other) => other.convert(this);