nestedcircles.ctxt

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

CTXT
19
字号
#BlueJ class contextcomment0.target=class\ NestedCirclescomment0.text=Class\ Invariant\nA\ NestedCircles\ object...\nis\ a\ filled\ circular\ region,\ possibly\ with\ black,\ \nconcentric\ circles\ upon\ it\ \ \n\ncomment1.target=lastCircleRadiuscomment2.params=ccomment2.target=void\ setBackground(Color)comment2.text=pre\:\tc\ is\ a\ valid\ Color\ \ <br>\npost\:\tinitialOval\ is\ recolored\ using\ color\ c\ \ \ \n\ncomment3.params=comment3.target=Oval\ addableContent()comment3.text=post\:\tresult\ is\ this\ image\ suitable\ for\ passing\ as\ \nan\ argument\ to\ add.\ \ \ncomment4.params=comment4.target=void\ insertCircle()comment4.text=post\:\tlastCircleRadius\ \=\=\ 0.8*\ lastCircleRadius@pre\ \nand\ \ a\ black\ circle\ with\ radius\ \ of\ lastCircleRadius\ is\nadded\ concentrically\ to\ this\ object\ \n\ncomment5.params=x\ y\ rcomment5.target=NestedCircles(int,int,int)comment5.text=pre\:\tr\ >\ 0\ \ \ <br>\npost\:\tA\ new\ black\ filled\ NestedCirle\ object\ is\ created\ \nwith\ upper-left\ corner\ at\ (x,\ y)\ \ \ \nand\ \ lastCircleRadius\ \=\=\ r\ \ \ \n\ncomment6.target=initialOvalnumComments=7

⌨️ 快捷键说明

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