size(400,260);
background(250,250,250);
PFont font;
font=loadFont("Tunga-48.vlw");
fill(0);
textFont(font,20);
text("Institute of",60,10);
text("Business Administration",60,23);
text("Karachi",60,36);
textFont(font,12);
text("Leadership and Ideas for Tomorrow",1,48);
textFont(font,20);
text("Name Yasini Karim Khan",80,75);
text("Father's Name shaheen khan",80,95);
text("Class BS(CS)",80,115);
text("Date of admission August.2011",80,135);
textFont(font,18);
text("programmer officer",1,205);
text("Student's signature",200,205);
font=loadFont("Vivaldii-48.vlw");
textFont(font,20);
text("karimkhan",200,185);
font=loadFont("VladimirScript-48.vlw");
textFont(font,40);
text("manoch",30,185);
line(200,190,320,190);
line(140,120,340,120);
line(190,150,340,150);
line(190,120,290,120);
line(210,100,340,100);
line(150,80,340,80);
rect(240,35,150,25);
fill(131,11,11);
rect(1,1,50,40);
stroke(255,255,255);
line(1,15,49,15);
font=loadFont("TimesNewRomanPS-BoldMT-48.vlw");
textFont(font,12);
fill(255,255,255);
text("I B A",12,10);
fill(255,255,255);
textFont(font,16);
text("student's I.D.Card",260,52);
saveFrame();
according to the setting of my own lappy
ReplyDeletei have programme this java code, many times i
changed the font styles due to which for every error
you need to set the font styles..
regards