이 코드로 다각형을 그릴 :C에서 폴리곤의 크기를 조정하는 방법은 무엇입니까?
Graphics surface;
surface = this.CreateGraphics();
SolidBrush brush = new SolidBrush(Color.Olive);
Point[] points = { new Point(50, 50), new Point(250, 50), new Point(50, 250) };
surface.FillPolygon(brush, points);
에서는 다음과 같은 다각형의 크기를 조정?
당신은 당신의 점의 값을 변경해야합니다. –
'System.Drawing.Matrix' 클래스와'Graphics.Transform' 속성을 살펴보십시오. – Rotem
@Rotem : 다각형 크기 조정을 위해 System.Drawing.Matrix 및 Graphics.Transform 사용을 도와주세요. –