Added doc for BaseTexture.fromCanvas