পিললোউ polygon
🌈পিললোউ polygon কি?
📋পিললোউ polygon হলো ছবিতে বহুভুজ আঁকার পদ্ধতি।
⚒️পিললোউ polygon ছবিতে বহুভুজ আঁকতে ব্যবহৃত হয়।
পিললোউ polygon ছবিতে বহুভুজ আঁকার উদাহরণ।
pillow
from PIL import Image, ImageDraw
image = Image.new("RGB", (400, 300), "pink")
draw = ImageDraw.Draw(image)
draw.polygon(
[(200, 40), (350, 250), (50, 250)],
outline="red",
fill="white"
)
image.show()