File size: 261 Bytes
17ead0c | 1 2 3 4 5 6 7 8 9 10 11 12 13 | from abc import ABC, abstractmethod
from PIL import Image
class GradientStyle(ABC):
def __init__(self, width: int, height: int):
self.width = width
self.height = height
@abstractmethod
def render(self) -> Image.Image:
...
|