Friday, September 09, 2011
Image Properties
Wednesday, September 07, 2011
TCanvas::FillRect Method
Image1->Canvas->Brush->Color = (TColor) RGB(130,67,33);
Image1->Canvas->FillRect(Rect(50,100,80,200));
這兩行指令就是
1. 設定Image1畫布上筆刷的顏色為 (130,67,33)
2. 把矩形 Rect(50,100,80,200) 用筆刷填滿
Image1->Canvas->FillRect(Rect(50,100,80,200));
這兩行指令就是
1. 設定Image1畫布上筆刷的顏色為 (130,67,33)
2. 把矩形 Rect(50,100,80,200) 用筆刷填滿
Subscribe to:
Posts (Atom)