以下代码片段不能实现矩形框绘制的有?
A: context.strokeRect(50,50,50,50);
B: context.rect(50,50,50,50);
C: context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.closePath();context.stroke();
D: context.beginPath();context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.closePath();context.stroke();
E: context.fillRect(50,50,50,50);
A: context.strokeRect(50,50,50,50);
B: context.rect(50,50,50,50);
C: context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.closePath();context.stroke();
D: context.beginPath();context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.closePath();context.stroke();
E: context.fillRect(50,50,50,50);
举一反三
- 以下代码片段能实现矩形框绘制的有? A: context.strokeRect(50,50,50,50); B: context.rect(50,50,50,50); C: context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.closePath();context.stroke(); D: context.moveTo(50,50);context.lineTo(100,50);context.lineTo(100,100);context.lineTo(50,100);context.lineTo(50,50);context.stroke(); E: context.fillRect(50,50,50,50);
- 【单选题】若绘图环境为context,以下选项中,实现基于路径的矩形框绘制的是? A. context.rect(50,50,50,50); B. context.fillRect(50,50,50,50); C. context.strokeRect(50,50,50,50); D. context.rect(50,50,50,50); context.stroke();
- Context in SFL refers to . A: Context of language B: Context of culture C: Context of society D: Context of situation
- According to Numan, context can be classified into . A: linguistic context and co-text. B: nonlinguistic context and extra-linguistic context. C: situational context and cultural context D: linguistic context and nonlinguistic context.
- How to narrow the following topic “The Effects of Deforestation on Gorillas in Africa ” A: Geographical context B: Historical context C: Biological context D: Social context