语句“g2d.fillArc(x,y,2*radius,2*radius,i,30);”绘制的填充圆弧属性为()
A.起点坐标(x,y),宽高均为2r,起始角度i,弧角度30
B.起点坐标(2r,2r),宽高分别为下,y,起始角度i,弧角度30
C.起点坐标(x,y),宽高均为2r,起始角度30,弧角度i
D.起点坐标(2r,2r),宽高分别为下,y,起始角度i,弧角度30
查看答案
FanAnimal类中,语句“jp.setLayout(new FlowLayout(FlowLayout.CENTER,30,30));”设置了面板的布局方式为____面板内组件____对齐。
TransPane类中,语句“int xCenter=getWidth()/2;”是将xCenter的值设为容器____的一半
TransPane类中,语句“ int yCenter=getHeight()/2;”定义了yCenter的值设为容器高度的一半。()
A. 对
B. 错
TransPane类中,语句“g2d.setColor(Color.black);”功能是设置扇形填充色为黑色。()
A. 对
B. 错