• 2022-07-27
    调用Canvas对象的哪个方法来获取绘图环境()
    A: getCanvas
    B: getContent
    C: getContext
    D: getClient
  • C

    内容

    • 0

      哪个 HTML5 内建对象用于在画布上绘制? A: getContent B: getContext C: getGraphic D: getCanvas

    • 1

      哪个HTML5内建对象用于在画布上绘制图形?( ) A: getContent B: getContext C: getGraphics D: getCanvas

    • 2

      创建canvas画布使用的方法是()。 A: getContent("3d") B: document.Context("3d") C: getContext("2d") D: document.Context("2d")

    • 3

      在HTML的Canvas中,使用什么方法创建绘图的上下文环境?( ) A: getContext() B: lineTo() C: moveTo() D: stroke()

    • 4

      canvas绘图是借助于javascript脚本通过( )方法进行图像绘制 A: getElementById() B: getContext("2d") C: fillRect( D: strokeRect()