常見(jiàn)例句DrawLine is an overloaded method of the Graphics class, so there are several ways you can supply it with arguments. DrawLine是Graphics類(lèi)的一個(gè)重載方法,因此,有數(shù)種為其提供參數(shù)的方式。DrawLine Draw a line from one point to the other with the given color following the drawing flags. 畫(huà)一條線從一個(gè)點(diǎn)到另一個(gè)點(diǎn),用給的顏色跟著指定的標(biāo)志。DrawLine () draws a line. DrawLine ( )提請(qǐng)線。For example, one variation of the DrawLine method receives a Pen object and four integers, while another variation of the DrawLine method receives a Pen object and two Point objects. 例如,DrawLine方法的一個(gè)變體接收一個(gè)Pen對(duì)象和四個(gè)整數(shù),而DrawLine方法的另一個(gè)變體接收一個(gè)Pen對(duì)象和兩個(gè)Point對(duì)象。drawLine(left, top, right, bottom, color); 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) canvas.drawLine(right, top, left, bottom, color); 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) 聽(tīng) canvas. 返回 drawline