皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
public class MySurfaceView extends SurfaceView implements Callback { // 用于控制 SurfaceView private SurfaceHolder sfh; // 声明一个画笔 private Paint paint; // 文本的坐标 private int textX = 10, textY = 10; private Canvas canvas; public MySurfaceView(Context context) { super(context); sfh = this.getHolder(); paint = new Paint(); paint.setColor(Color.WHITE); // 设置焦点 setFocusable(true); } @Override public void surfaceCreated(SurfaceHolder holder) { myDraw (); } public void myDraw() { try { canvas = sfh.lockCanvas(); if (canvas != null) { canvas.drawRGB(0, 0, 0); canvas.drawText("Game", textX, textY, paint); } } catch (Exception e) { // TODO: handle exception } finally { if (canvas != null) sfh.unlockCanvasAndPost(canvas); } } }
A.
以上在10,10的位置绘制了一个Game字样,且字体为黑色
B.
以上在10,10的位置绘制了一个Game字样,且字体为白色
C.
以上界面出现黑色界面,没有Game字样输出
D.
以上答案均不对
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】What is the poetic form of the poem “I’m Nobody! Who are you”? (Week 8)
A.
Lyric poem
B.
Narrative poem
C.
Dramatic monologue.
D.
Epic poem.
【简答题】_____ is Shelley's first long poem of importance. It was written in the form of a fairy-tale dream.
【单选题】Which of the following shows the reader this poem is in the form of a journey?
A.
And I had put away My labor, and my leisure too, For His civility
B.
where children strove At recess, in the Ring
C.
The Carriage held but just ourselves And Immortality
D.
The Dews grew quivering and chill
【单选题】老年人肝血流量仅是青年人的
A.
10%~20%
B.
20%~30%
C.
30%~40%
D.
40%~50%
E.
50%~60%
【简答题】The following is a poem which makes use of the form of characters. Their shapes are important parts of a poem. Please write the poem.
【单选题】在人体十大类具有特殊治疗作用的腧穴中,治疗急性病症的腧穴是
A.
五腧穴
B.
原穴
C.
络穴
D.
郄穴
【简答题】The poem of “song to Celia” is written in the form of ______.
【判断题】The form of a poem usually includes the rhyme and meter.
A.
正确
B.
错误
【判断题】the literary form of the Foerie Queen is metaphysical poem.
A.
正确
B.
错误
【单选题】制作衍纸时用不到的工具是? ( )
A.
剪刀
B.
长卷笔
C.
圆孔尺
D.
多功能瑞士刀
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题