H
hwljerry
Unregistered / Unconfirmed
GUEST, unregistred user!
var
points: array[0..2] of TPoint;
begin
points[0] := Point(10, 10);
points[1] := Point(100, 150);
points[2] := Point(150, 50);
Canvas.Brush.Color := clRed;
Canvas.Polygon(points);
end;
在这个多边中,我想要把上半部分填充为红色,下半部分填充为黑色,两种颜色一个占30%
一个占70%。谁知道?????
points: array[0..2] of TPoint;
begin
points[0] := Point(10, 10);
points[1] := Point(100, 150);
points[2] := Point(150, 50);
Canvas.Brush.Color := clRed;
Canvas.Polygon(points);
end;
在这个多边中,我想要把上半部分填充为红色,下半部分填充为黑色,两种颜色一个占30%
一个占70%。谁知道?????