rectangle.ctxt

来自「Java程序设计(美) David D. Riley著 机械工业出版社 书籍配套」· CTXT 代码 · 共 11 行

CTXT
11
字号
#BlueJ class contextcomment0.target=class\ Rectanglecomment0.text=Rectangle\ Supplier\ Class\ \nAuthor\:\ David\ D.\ Riley\nDate\:\ April,\ 2004\n\ncomment1.params=x\ y\ w\ hcomment1.target=Rectangle(int,int,int,int)comment1.text=post\:\ \ \ getX()\ \=\=\ x\ \ and\ \ getY()\ \=\=\ y\nand\ \ getWidth()\ \=\=\ w\ \ and\ getHeight()\ \=\=\ h\nand\ \ getBackground()\ \=\=\ Color.black\n\ncomment2.params=gcomment2.target=void\ paint(Graphics)comment2.text=post\:\ \ \ this\ method\ draws\ a\ filled\ Rectangle\nand\ \ the\ upper\ left\ corner\ is\ (getX(),\ getY())\ \nand\ \ the\ rectangle's\ dimensions\ are\ getWidth()\ and\ getHeight()\nand\ \ the\ rectangle's\ color\ is\ getBackground()\n\nnumComments=3

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?