Issue #4608: Combined with canvas method.