📄 rectangle.ctxt
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -