Teach Yourself Java in 21 Days



Download 5,76 Mb.
Pdf ko'rish
bet11/54
Sana30.12.2021
Hajmi5,76 Mb.
#97759
1   ...   7   8   9   10   11   12   13   14   ...   54
Bog'liq
LearnJava

Day

9

Graphics, Fonts, and Color

149

The Graphics Class ................................................................................. 150

The Graphics Coordinate System ...................................................... 151

Drawing and Filling ............................................................................... 151

Lines .................................................................................................. 152

Rectangles .......................................................................................... 152

Polygons ............................................................................................ 155

Ovals ................................................................................................. 156

Arc ..................................................................................................... 157

A Simple Graphics Example............................................................... 161

Copying and Clearing ........................................................................ 163

Text and Fonts ....................................................................................... 163

Creating Font Objects ....................................................................... 163

Drawing Characters and Strings ......................................................... 164

Finding Out Information About a Font ............................................. 166

Color ...................................................................................................... 168

Using Color Objects .......................................................................... 168

Testing and Setting the Current Colors ............................................. 169

A Single Color Example ..................................................................... 170

Summary ................................................................................................ 171

Q&A ...................................................................................................... 171

030-4 FM


1/29/96, 8:11 PM

12



xiii


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   ...   54




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish