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 :
- Line Oval String
Input :
import java.awt.Graphics ;
public class tugas extends java.applet.Applet {
public void paint ( Graphics g ) {
g.drawLine ( 100,100,200,200 ) ;
g.drawString ( " Komputer Graphics , Dosen : Nahot Frastian, M,Kom",50,90
) ;
g.drawOval ( 200,200 , 300 ,100 ) ;
}
}
Proses :
 drawString : kordinat x nya : 50 dan kordinat Y nya : 90 , sedangkan kata
String nya : Komputer Graphics , Dosen : Nahot Frastian, M,Kom
 drawLine nya : kordinat x1 nya 100 , x2 nya = 200 , y1 = 100 , y2 = 200
 draw Oval : kordinatnya : x1 = 200 , y1 = 200 , x2 = 300 , y2 = 100
Output :
Oval , string , line

More Related Content

DOCX
Tugas
DOCX
DOCX
String rect warna
DOCX
DOCX
Kotak warna
DOCX
String dan rect
DOCX
Line rect
DOCX
Soalno2
Tugas
String rect warna
Kotak warna
String dan rect
Line rect
Soalno2

What's hot (16)

DOCX
Soal1a
DOCX
My ovalsetengah
DOCX
My ovalacak
DOCX
Myline
DOCX
Myovalacak
DOCX
Myline
DOCX
Bintang2
DOCX
My ovalsetengah
DOCX
Myline3
DOCX
Myline
DOCX
DOCX
Polygonbiasa
DOCX
Polygon
DOCX
Myoval2
DOCX
Polygon
TXT
Bai lam chuong 3
Soal1a
My ovalsetengah
My ovalacak
Myline
Myovalacak
Myline
Bintang2
My ovalsetengah
Myline3
Myline
Polygonbiasa
Polygon
Myoval2
Polygon
Bai lam chuong 3
Ad

Viewers also liked (14)

PPTX
Final Portfolio - Kailin Beck
DOCX
Segiempat1
PDF
Matematika diskrit melalui permainan the tower of hanoi dan the wheel of theo...
PDF
13 a luanncrossley
DOCX
Grafik batang
PDF
La comune a1 n20 30settembre
PPTX
Gorilas - Tudo sobre Gorilas
PPT
20 hour SAFE Loan Originator Pre-Licensing 2016-2017 slides
PPTX
Orient db study
PDF
Limitations of self report
PPT
Grade 11,U3 L4-resistance in Series and Parallel CCT's
PPT
O que é o espiritismo
PDF
Planeador grado 11 2017
PDF
pewarnaan graf
Final Portfolio - Kailin Beck
Segiempat1
Matematika diskrit melalui permainan the tower of hanoi dan the wheel of theo...
13 a luanncrossley
Grafik batang
La comune a1 n20 30settembre
Gorilas - Tudo sobre Gorilas
20 hour SAFE Loan Originator Pre-Licensing 2016-2017 slides
Orient db study
Limitations of self report
Grade 11,U3 L4-resistance in Series and Parallel CCT's
O que é o espiritismo
Planeador grado 11 2017
pewarnaan graf
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
Segiempat
DOCX
Rumah
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
Segiempat
Rumah
Mypoly
Myoval
Kotak3d
Grafik garis

Recently uploaded (8)

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

Oval , string , line

  • 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 : - Line Oval String Input : import java.awt.Graphics ; public class tugas extends java.applet.Applet { public void paint ( Graphics g ) { g.drawLine ( 100,100,200,200 ) ; g.drawString ( " Komputer Graphics , Dosen : Nahot Frastian, M,Kom",50,90 ) ; g.drawOval ( 200,200 , 300 ,100 ) ; } }
  • 2. Proses :  drawString : kordinat x nya : 50 dan kordinat Y nya : 90 , sedangkan kata String nya : Komputer Graphics , Dosen : Nahot Frastian, M,Kom  drawLine nya : kordinat x1 nya 100 , x2 nya = 200 , y1 = 100 , y2 = 200  draw Oval : kordinatnya : x1 = 200 , y1 = 200 , x2 = 300 , y2 = 100 Output :