Create the second rectangle and draw it to the screen in red.
创建与第一个矩形相交的第二个矩形并用红色将其绘制到屏幕。
Creates the second rectangle and draws it to the screen in red.
创建第二个矩形并用红色将其绘制到屏幕。
Creates a second rectangle with upper-left corner at (100, 100).
创建第二个矩形,使其左上角位于(100,100)。
Gets the area of intersection for the region when combined with the second rectangle.
取得此区域与第二个矩形组合时的交集区域。
Creates a second rectangle that intersects with the first and draws it to the screen in red.
建立与第一个矩形交集的第二个矩形,并以红色将它绘制至画面。
Creates a second rectangle that intersects with the first and draws it to the screen in red.
建立与第一个矩形交集的第二个矩形,并以红色将它绘制至画面。
应用推荐