@classmethod
    def from_texture(cls, texture):
        return cls(texture, 0, 0)
Image is the entire texture.
dataset/ETHPy150Open ardekantur/pyglet/contrib/scene2d/scene2d/image.py/Image2d.from_texture