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

    内容

    • 0

      获得canvas对象的绘图上下文的方法是? A: getCanvas(); B: getGraphics(); C: getContent(); D: getContext();

    • 1

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

    • 2

      以下哪个方法用于返回画布上的绘制上下文对象 A: getContext B: getElementById C: write D: writeln

    • 3

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

    • 4

      通过【】对象可以在画布中绘制图形。