Balloonクラス †
- 吹き出しを作成するクラス
- Balloon(画像,吹き出しの中心,大きさ,吹き出しの種類,くちばしの向き,セリフ )
- Balloon(char img,int center_x,int center_y),(int a, int b),0 or 1 , (int mouse_x, int mouse_y)
- fukidashi(文字サイズ,文字数)
テスト †
- 使用例
from Balloon import Balloon
center = [300,250]
radius =[200,100]
flag = 0
mouse = [0,0]
str = 'ああああああああああああああああaaaaaaaaaaaaaaaaaaaaああああいいいい'
b = Balloon("blank.bmp",center,radius,flag,mouse,str)
b.fukidashi(8,15)
seminar-personal/fukumoto2017