📄 circle.ctxt
字号:
#BlueJ class contextcomment0.target=class\ Circlecomment0.text=\nA\ circle\ that\ can\ be\ manipulated\ and\ that\ draws\ itself\ on\ a\ canvas.\n\n@author\ \ Michael\ Kolling\ and\ David\ J.\ Barnes\n@version\ 1.0\ \ (15\ July\ 2000)\n\ncomment1.params=comment1.target=void\ moveLeft()comment1.text=\nMove\ the\ circle\ a\ few\ pixels\ to\ the\ left.\n\ncomment10.target=diametercomment11.params=comment11.target=void\ makeInvisible()comment11.text=\nMake\ this\ circle\ invisible.\ If\ it\ was\ already\ invisible,\ do\ nothing.\n\ncomment12.target=isVisiblecomment13.target=yPositioncomment14.params=comment14.target=Circle()comment14.text=\nCreate\ a\ new\ circle\ at\ default\ position\ with\ default\ color.\n\ncomment15.target=colorcomment16.params=comment16.target=void\ moveUp()comment16.text=\nMove\ the\ circle\ a\ few\ pixels\ up.\n\ncomment17.params=newColorcomment17.target=void\ changeColor(String)comment17.text=\nChange\ the\ color.\ Valid\ colors\ are\ "red",\ "yellow",\ "blue",\ "green",\n"magenta"\ and\ "black".\n\ncomment18.params=comment18.target=void\ erase()comment18.text=Erase\ the\ circle\ on\ screen.\n\ncomment19.params=distancecomment19.target=void\ slowMoveVertical(int)comment19.text=\nSlowly\ move\ the\ circle\ vertically\ by\ 'distance'\ pixels.\n\ncomment2.params=newDiametercomment2.target=void\ changeSize(int)comment2.text=\nChange\ the\ size\ to\ the\ new\ size\ (in\ pixels).\ Size\ must\ be\ >\=\ 0.\n\ncomment20.params=distancecomment20.target=void\ moveVertical(int)comment20.text=\nMove\ the\ circle\ vertically\ by\ 'distance'\ pixels.\n\ncomment3.params=distancecomment3.target=void\ slowMoveHorizontal(int)comment3.text=\nSlowly\ move\ the\ circle\ horizontally\ by\ 'distance'\ pixels.\n\ncomment4.target=xPositioncomment5.params=comment5.target=void\ moveRight()comment5.text=\nMove\ the\ circle\ a\ few\ pixels\ to\ the\ right.\n\ncomment6.params=comment6.target=void\ makeVisible()comment6.text=\nMake\ this\ circle\ visible.\ If\ it\ was\ already\ visible,\ do\ nothing.\n\ncomment7.params=comment7.target=void\ moveDown()comment7.text=\nMove\ the\ circle\ a\ few\ pixels\ down.\n\ncomment8.params=distancecomment8.target=void\ moveHorizontal(int)comment8.text=\nMove\ the\ circle\ horizontally\ by\ 'distance'\ pixels.\n\ncomment9.params=comment9.target=void\ draw()comment9.text=Draw\ the\ circle\ with\ current\ specifications\ on\ screen.\n\nnumComments=21
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -