对于drawImage(image,x,y,width,height,this)方法解释正确的是()。A.image是要绘制的图像B.x,y是表示图像的中心的位置C.width是源图像的宽度D.this是容器

题目
对于drawImage(image,x,y,width,height,this)方法解释正确的是()。

A.image是要绘制的图像

B.x,y是表示图像的中心的位置

C.width是源图像的宽度

D.this是容器


相似考题
更多“对于drawImage(image,x,y,width,height,this)方法解释正确的是()。 ”相关问题
  • 第1题:

    getImage()方法与drawImage()方法都是Image对象的方法。()

    此题为判断题(对,错)。


    答案:错

  • 第2题:

    使用embed元素在网页中嵌入一flash文件,flash控件的宽度和高度分别为窗口视图区域宽度和高度的一半,下面正确的选项为()。

    A.<embed src="mediawbxswsj.swf" width=50% height=50% type="application/x-shockwave-flash" />

    B.<embed href="mediawbxswsj.swf" width=50% height=50% type="application/x-shockwave-flash" />

    C.<embed src="mediawbxswsj.swf" width=50% height=50% />

    D.<embed href="mediawbxswsj.swf" width=50% height=50% />


    正确

  • 第3题:

    补全toString方法,使其内容为“width=***,height=***”。 public class Rectangle{ private double width; private double height; public Rectangle(){} public Rectangle(double a, double b) { width=a;height=b; } public String toString(){ 代码 } }


    A

  • 第4题:

    下列选项的程序段中()实现的功能是:绘制多个圆,且当x轴坐标在180到220之间的范围内,不进行圆的绘制。

    A.for (y=20; y<=height; y+=a) { for (x=20; x<=width; x+=a) { if (x>=180&&x<220) { continue; } circle(x, y, d); } }#B.for (y=20; y<=height; y+=a) { for (x=20; x<=width; x+=a) { if (x>=180&&x<220) { break; } circle(x, y, d); } }#C.for (x=20; x<=width; x+=a) { for (y=20; y<=height; y+=a) { if (x>=180&&x<220) { continue; } circle(x, y, d); } }#D.for (x=20; x<=width
    聊天 @ 功能,邮箱能收到会议提醒

  • 第5题:

    3、使用embed元素在网页中嵌入一flash文件,flash控件的宽度和高度分别为窗口视图区域宽度和高度的一半,下面正确的选项为()。

    A.<embed src="media\wbxswsj.swf" width=50% height=50% type="application/x-shockwave-flash" />

    B.<embed href="media\wbxswsj.swf" width=50% height=50% type="application/x-shockwave-flash" />

    C.<embed src="media\wbxswsj.swf" width=50% height=50% />

    D.<embed href="media\wbxswsj.swf" width=50% height=50% />


    正确