canvas-animation: Add Object2D applyCompositing/applyLineStyle/restoreCompositing/restoreLineStyle methods.