getBlendMode -> getCompositeOperation, ts-ified