Logo
Npm : 201243501190
Nama : Reza Fahlevi
Kelas : R7H
Mata Kuliah : Komputer Grafik
Dosen : Nahot Frastian , M.Kom
Program Studi : Teknik Informatika
Universitas : Universitas Indraprasta Pgri
Program Komputer Grafik :
- String Dan Rect
Input :
import java.awt.Graphics ;
public class linerect extends java.applet.Applet {
public void paint ( Graphics g ) {
g.drawString ( " Komputer Graphics , Dosen : Nahot Frastian, M,Kom",50,90
) ;
g.drawRect ( 50,100,150,250 ) ;
}
}
Proses :
 drawString : kordinat x nya : 50 dan kordinat Y nya : 90 , sedangkan kata
String nya : Komputer Graphics , Dosen : Nahot Frastian, M,Kom
 drawRect nya : kordinat x1 nya 50 , x2 nya = 150 , y1 = 100 , y2 = 250
Output :

More Related Content

DOCX
DOCX
Line rect
DOCX
String rect warna
DOCX
Oval , string , line
DOCX
Kotak warna
DOCX
DOCX
Myline
DOCX
Soalno2
Line rect
String rect warna
Oval , string , line
Kotak warna
Myline
Soalno2

What's hot (14)

DOCX
Tugas
DOCX
Myline
DOCX
Myline
DOCX
Myline3
DOCX
My ovalacak
DOCX
Myoval2
DOCX
Bintang2
DOCX
Myovalacak
DOCX
Polygon
DOCX
Polygonbiasa
DOCX
My ovalsetengah
DOCX
Polygon
DOCX
My ovalsetengah
DOCX
Tugas
Myline
Myline
Myline3
My ovalacak
Myoval2
Bintang2
Myovalacak
Polygon
Polygonbiasa
My ovalsetengah
Polygon
My ovalsetengah
Ad

Viewers also liked (11)

PDF
1189767-BE15 pédigrèe
PPTX
Densidade populacional
DOCX
Myoval1
DOCX
Rumah
PPTX
No sql database study
PPTX
Mapa fuentes de dip
PPT
PDF
Top 100 national depuis 2006
PDF
Recursos naturais 2 (Sebenta de Geografia A).
PPT
everything I needed to know about innovation, I learned by drawing cartoons
PDF
Envelhecimento em Portugal
1189767-BE15 pédigrèe
Densidade populacional
Myoval1
Rumah
No sql database study
Mapa fuentes de dip
Top 100 national depuis 2006
Recursos naturais 2 (Sebenta de Geografia A).
everything I needed to know about innovation, I learned by drawing cartoons
Envelhecimento em Portugal
Ad

More from fahlevizha (20)

DOCX
Makalah komgraf
PPTX
PPT Komgraf
DOCX
Aplikasi program komputer grafik
DOCX
Warnargb
DOCX
Satutitikhilang
DOCX
My line2d
DOCX
Font1
DOCX
DOCX
DOCX
Tugas no 2
DOCX
Tugas no 1 b
DOCX
Tugas no 1 a
DOCX
Segiempat1
DOCX
Segiempat
DOCX
DOCX
Mypoly
DOCX
Myoval
DOCX
DOCX
Kotak3d
DOCX
Grafik garis
Makalah komgraf
PPT Komgraf
Aplikasi program komputer grafik
Warnargb
Satutitikhilang
My line2d
Font1
Tugas no 2
Tugas no 1 b
Tugas no 1 a
Segiempat1
Segiempat
Mypoly
Myoval
Kotak3d
Grafik garis

Recently uploaded (8)

PDF
15 AUG 2025 PS 15 AUG 2025 PS 15 AUG 2025 PS
PDF
Cold positive punishment of the student سزادانی ئەرێنی ساردی قوتابی.pdf
PPTX
Madison dsfnsd dslsf sada;sdmas;ds;dls.pptx
PDF
فورمولر عمومی مضمون فزیک برای همه انجنیران
PPTX
Presentation on chemistry class 11 and class 12
PDF
levelling full chapter with examples and questions
PDF
Materi seni rupa untuk sekolah dasar materi tentang seni rupa
PDF
5.PDFsxcc c fvfvfv fvfvwCCDSDcvvcrdcfrwcwecwdcfwe
15 AUG 2025 PS 15 AUG 2025 PS 15 AUG 2025 PS
Cold positive punishment of the student سزادانی ئەرێنی ساردی قوتابی.pdf
Madison dsfnsd dslsf sada;sdmas;ds;dls.pptx
فورمولر عمومی مضمون فزیک برای همه انجنیران
Presentation on chemistry class 11 and class 12
levelling full chapter with examples and questions
Materi seni rupa untuk sekolah dasar materi tentang seni rupa
5.PDFsxcc c fvfvfv fvfvwCCDSDcvvcrdcfrwcwecwdcfwe

String dan rect

  • 1. Logo Npm : 201243501190 Nama : Reza Fahlevi Kelas : R7H Mata Kuliah : Komputer Grafik Dosen : Nahot Frastian , M.Kom Program Studi : Teknik Informatika Universitas : Universitas Indraprasta Pgri Program Komputer Grafik : - String Dan Rect Input : import java.awt.Graphics ; public class linerect extends java.applet.Applet { public void paint ( Graphics g ) { g.drawString ( " Komputer Graphics , Dosen : Nahot Frastian, M,Kom",50,90 ) ; g.drawRect ( 50,100,150,250 ) ; } }
  • 2. Proses :  drawString : kordinat x nya : 50 dan kordinat Y nya : 90 , sedangkan kata String nya : Komputer Graphics , Dosen : Nahot Frastian, M,Kom  drawRect nya : kordinat x1 nya 50 , x2 nya = 150 , y1 = 100 , y2 = 250