go top

有道翻译

rect function

矩形函数

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • For example, the code in Listing 1 draws a square using the rect function, then specifies a change to the coordinate system using translate.

    例如,清单1代码使用rect函数绘制了一个正方形然后使用translate修改坐标系统

    youdao

  • The rect function draws a rectangle, with the first two points defining the location and the next two defining width and height, respectively.

    rect函数可绘制一个矩形并且定义位置后面两个点则分别定义宽度高度

    youdao

  • Any new shapes drawn after the translate function appears using the offset; so in this case, the rect function actually creates a square at 100, 100, 150, 150, as shown in Figure 1, cell a.

    translate函数之后绘制任何形状都会加上这个偏移量所以这里rect函数实际上坐标100,100,150,150上创建正方形如图1单元格a所示。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定