modifyCurrentColor abstract method

ScalableImage modifyCurrentColor(
  1. Color newCurrentColor
)

Return a new ScalableImage like this one, with currentColor modified.

Note that the new instance shares most of its underlying state with the original, so it does not use much memory.

Implementation

ScalableImage modifyCurrentColor(Color newCurrentColor);