void setup(){
size(350,250);
int posX=100;
int posY=125;
int wide=250;
int high=75;
background(#86826B);
strokeWeight(4);
fill(255);
rect(posX,posY,wide/6,high*3/5);
fill(#E5C81E); //Body Battery
rect(posX+(0.056*wide),posY-(0.2*high),wide*5/6,high);
//blue
fill(#3531C1);
rect(posX+(wide/6),posY,wide*0.72,0.6*high);
//Line
line(posX+(wide/6),posY-(0.2*high),posX+(wide/6),posY+(0.78*high));
//Text
fill(255);
textSize(15);
text("Panasonic",posX+0.22*wide,posY+0.4*high);
}
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
commit เพิ่มเติม : เพื่ม userstory, bookmark
>> add userstory ทำการเพิ่ม userstory ใน functional tests >> add bookmark for user เพิ่มระบบ Bookmark โดยการสร้าง model ขึ...
-
1 2 3 4 5 6 7 8 9 def setup (): print (d2b( 8 )) def d2b (num): x = "" while num > 0 : x = str ( int (n...
-
1 2 3 4 5 6 7 8 9 10 11 12 13 def test_layout_and_styling ( self ): # Edith goes to the home page self . brow...
-
การใช้ template inheritence คือการสืบทอดเทมเพลต เพื่อให้ไม่ต้องเขียนโค้ดหน้าเว็บๆซ้ำๆ เราจะมีหน้าหลักอันเดียว (base.html or parent) ภายในนั...
ไม่มีความคิดเห็น:
แสดงความคิดเห็น