Created
January 19, 2012 10:51
-
-
Save edofic/1639388 to your computer and use it in GitHub Desktop.
drawing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JButton, JCheckBox, JComboBox, JToolBar, JTextField, JRadioButton, | |
JScrollBar, JWindow, JFrame, JButton, JCheckBox, JComboBox, JRadioButton | |
narišemo črto od spodnjega levega do gornjega desnega oglišča risalne plošče: | |
paintComponent({0,maxHeight,maxWidth,0}); | |
drawString(niz,x,y); | |
drawLine(x1,y1,x2,y2); | |
drawArc(x,y,sirina,visina,zackot,kot); | |
drawPolygon(p); Polygon p= new Polygon(); p.addPoint(10,10); | |
drawRect(x,y,sirina,visina); | |
drawRoundRect(x,y,sirina,visina,rh,rv); | |
drawOval(x,y,sirina,visina) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment