创建一条弧线的函数是( )。
A: arc(number x, number y, number r, number sAngle, number eAngle, boolean counterclockwise)
B: rect(number x, number y, number width, number height)
C: arcTo(number x1, number y1, number x2, number y2, number radius)
D: fillRect(number x, number y, number width, number height)
A: arc(number x, number y, number r, number sAngle, number eAngle, boolean counterclockwise)
B: rect(number x, number y, number width, number height)
C: arcTo(number x1, number y1, number x2, number y2, number radius)
D: fillRect(number x, number y, number width, number height)
举一反三
- 函数arc(number x, number y, number r, number sAngle, number eAngle, boolean counterclockwise)的参数counterclockwise表示( )。
- 函数CanvasContext.translate(number x, number y)的参数x表示( )
- 下列代码的输出结果是( )。function maxC(x: number, y?: number): number { if (y) { return x y ? x : y; } else { return x; }}console.log(maxC(3)); A: 运行错误 B: 运行正确,结果为1 C: 运行正确,结果为2 D: 运行正确,结果为3
- 下列表达式可以作为判断一个整数number为奇数的是() A: number // 2 == 1 B: number // 2 == 0 C: number % 2 == 1 D: number / 2 == 1
- According to recording 4.1, which statement is true? ( )。 A: Number four and number five. B: Number one and number two. C: Number three and number four. D: Number one and number four.