SlideShare a Scribd company logo
1 of 3
Npm : 2012 4350 1163
Nama : Hamim Suyuti
Kelas : R7H
Mata Kuliah : Komputer Grafik
Dosen : Nahot Frastian, M.Kom
Program Studi : Teknik Informatika
Universitas : Universitas Indraprasta PGRI
Program Komputer Grafik :
Arc Huruf C
Input :
import java.awt.Graphics;
public class arc extends java.applet.Applet
{
public void paint(Graphics g)
{
g.drawArc(20,20,60,60,90,180);
g.fillArc(120,20,60,60,90,180);
}
}
Proses :
 drawArc x1 = 20 ,int y = 20 , int width = 60 , int height = 60 , int
statangle=90 , int arcangle = 180
 fillArc x1 = 120 ,int y = 20 , int width = 60 , int height = 60 , int
statangle=90 , int arcangle = 180
Output :

More Related Content

What's hot

5 6 Linear Programming
5 6 Linear Programming5 6 Linear Programming
5 6 Linear Programming
silvia
 

What's hot (14)

Phy hssc-ii-a1
Phy hssc-ii-a1Phy hssc-ii-a1
Phy hssc-ii-a1
 
Engineering graphics 1 phase-i_2013
Engineering graphics 1 phase-i_2013Engineering graphics 1 phase-i_2013
Engineering graphics 1 phase-i_2013
 
Write a program to perform translation.
 Write a program to perform translation. Write a program to perform translation.
Write a program to perform translation.
 
Creating a rainbow using graphics programming in c
Creating a rainbow using graphics programming in cCreating a rainbow using graphics programming in c
Creating a rainbow using graphics programming in c
 
Kuis 1 b
Kuis 1 bKuis 1 b
Kuis 1 b
 
Plane geometry theorems
Plane geometry theoremsPlane geometry theorems
Plane geometry theorems
 
Flood Filling Algorithm in C
Flood Filling Algorithm in CFlood Filling Algorithm in C
Flood Filling Algorithm in C
 
5 6 Linear Programming
5 6 Linear Programming5 6 Linear Programming
5 6 Linear Programming
 
Calculus 45S Slides May 16, 2008
Calculus 45S Slides May 16, 2008Calculus 45S Slides May 16, 2008
Calculus 45S Slides May 16, 2008
 
water tank analysis
water tank analysiswater tank analysis
water tank analysis
 
Total costs
Total costs Total costs
Total costs
 
aip shape detection and tracking using contours
aip shape detection and tracking using contoursaip shape detection and tracking using contours
aip shape detection and tracking using contours
 
Upload
UploadUpload
Upload
 
digital
digitaldigital
digital
 

Viewers also liked

Venu.tb.case history and diagnosis
Venu.tb.case history and diagnosisVenu.tb.case history and diagnosis
Venu.tb.case history and diagnosis
piya1617
 
As research and planning presentation
As research and planning presentationAs research and planning presentation
As research and planning presentation
EmmaWheele98
 
VD Dissertation
VD DissertationVD Dissertation
VD Dissertation
Ross Novak
 
Eng. Nader Elzamly (English)
Eng. Nader Elzamly (English)Eng. Nader Elzamly (English)
Eng. Nader Elzamly (English)
Nader Elzamly
 
Industrial Engineering Works v1.0
Industrial Engineering Works v1.0Industrial Engineering Works v1.0
Industrial Engineering Works v1.0
Lesiba Rafapa
 

Viewers also liked (20)

Donnie Belloit_Reume
Donnie Belloit_ReumeDonnie Belloit_Reume
Donnie Belloit_Reume
 
INCALZIREA GLOBALA
INCALZIREA GLOBALAINCALZIREA GLOBALA
INCALZIREA GLOBALA
 
Co to jest UX?
Co to jest UX?Co to jest UX?
Co to jest UX?
 
Get ICE
Get ICEGet ICE
Get ICE
 
Venu.tb.case history and diagnosis
Venu.tb.case history and diagnosisVenu.tb.case history and diagnosis
Venu.tb.case history and diagnosis
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
 
BG - Brochure 2014
BG - Brochure 2014BG - Brochure 2014
BG - Brochure 2014
 
CCT
CCTCCT
CCT
 
As research and planning presentation
As research and planning presentationAs research and planning presentation
As research and planning presentation
 
Safe A PPP for Life
Safe A PPP for LifeSafe A PPP for Life
Safe A PPP for Life
 
VD Dissertation
VD DissertationVD Dissertation
VD Dissertation
 
Eng. Nader Elzamly (English)
Eng. Nader Elzamly (English)Eng. Nader Elzamly (English)
Eng. Nader Elzamly (English)
 
Financing for development
Financing for developmentFinancing for development
Financing for development
 
Vijay Shanthi - Fortune Square
Vijay Shanthi - Fortune SquareVijay Shanthi - Fortune Square
Vijay Shanthi - Fortune Square
 
Продукция
ПродукцияПродукция
Продукция
 
Joomla架站去
Joomla架站去Joomla架站去
Joomla架站去
 
Polygon
PolygonPolygon
Polygon
 
Студия ГрафПром
Студия ГрафПромСтудия ГрафПром
Студия ГрафПром
 
Industrial Engineering Works v1.0
Industrial Engineering Works v1.0Industrial Engineering Works v1.0
Industrial Engineering Works v1.0
 
The Philippines The Coup That Failed
The Philippines The Coup That FailedThe Philippines The Coup That Failed
The Philippines The Coup That Failed
 

More from HamimSuyuti

More from HamimSuyuti (17)

Rumah
RumahRumah
Rumah
 
Kuis 2
Kuis 2Kuis 2
Kuis 2
 
Kuis 1
Kuis 1Kuis 1
Kuis 1
 
Makalah Kelompok
Makalah KelompokMakalah Kelompok
Makalah Kelompok
 
Segiempat1
Segiempat1Segiempat1
Segiempat1
 
Segi empat
Segi empatSegi empat
Segi empat
 
Polygonbiasa
PolygonbiasaPolygonbiasa
Polygonbiasa
 
Oval
OvalOval
Oval
 
Myline
MylineMyline
Myline
 
Lamp
LampLamp
Lamp
 
Kotak3 d
Kotak3 dKotak3 d
Kotak3 d
 
Grafik garis
Grafik garisGrafik garis
Grafik garis
 
Grafik batang
Grafik batangGrafik batang
Grafik batang
 
Eliptikal
EliptikalEliptikal
Eliptikal
 
Drawtext
DrawtextDrawtext
Drawtext
 
Bintangwarna
BintangwarnaBintangwarna
Bintangwarna
 
Project Komputer Grafik
Project Komputer GrafikProject Komputer Grafik
Project Komputer Grafik
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 

Arc

  • 1. Npm : 2012 4350 1163 Nama : Hamim Suyuti Kelas : R7H Mata Kuliah : Komputer Grafik Dosen : Nahot Frastian, M.Kom Program Studi : Teknik Informatika Universitas : Universitas Indraprasta PGRI Program Komputer Grafik : Arc Huruf C Input : import java.awt.Graphics; public class arc extends java.applet.Applet { public void paint(Graphics g) { g.drawArc(20,20,60,60,90,180); g.fillArc(120,20,60,60,90,180); } }
  • 2. Proses :  drawArc x1 = 20 ,int y = 20 , int width = 60 , int height = 60 , int statangle=90 , int arcangle = 180  fillArc x1 = 120 ,int y = 20 , int width = 60 , int height = 60 , int statangle=90 , int arcangle = 180