CreateBrush() 공개 정적인 메소드

public static CreateBrush ( int p ) : Brush
p int
리턴 System.Drawing.Brush
예제 #1
0
파일: Utf8Grid.cs 프로젝트: hnjm/mapstache
 public void FillPolygon(SqlGeography geography, int i, object data = null)
 {
     using (var gp = _graphicsPathBuilder.Build(geography))
         using (var brush = Utf8Grid.CreateBrush(i))
         {
             _graphics.FillPath(brush, gp);
         }
     if (data != null)
     {
         this.Data.Add(i.ToString(), data);
     }
 }