要绘制平移效果的图形可以使用下面哪个方法。()
A. rotate() 方法
B. scale()方法
C. fill()方法
D. translate()方法
在HTML5中,要设置描边绘画的颜色、渐变或模式,需要使用上下文对象的()属性。
A. fillStyle
B. strokeStyle
C. fill
D. stroke
要绘制一个只有填充色无边框的矩形,应该使用下面哪个代码。()
A. rect()
B. clearRect()
C. strokeRect()
D. fillRect()
在HTML5中,要设置填充绘画的颜色、渐变或模式,需要使用上下文对象的()属性。
A. fillStyle
B. strokeStyle
C. fill
D. stroke