الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

صناعة صورة متغيرة

بدأه .S.T.A.L.K.E.R في 1 مارس 2008 · 0 رد · 533 مشاهدة · في JavaME
مشاركة: واتساب X فيسبوك تيليجرام
#1

declare

Image img;

in constructor

try{
img=Image.CreatImage(100,100);
Graphics graphics=img.getGraphics();
graphics.setColor(20,50,100);
graphics.drawString("Hello There !",0,0,0);
graphics.setColor(255,0,0);
graphics.drawRect(0,0,99,99);

}
catch(IOException e){}

in paint

g.drawImage(img,5,10,0);

sorry if there is errors cause i'm at net cafe

مواضيع مشابهة