コード例 #1
0
ファイル: TileCollection.cs プロジェクト: AlvaIce/GFJT-2020
 /// <summary>
 /// Creates a new instance of hte TileCollectionEnumerator
 /// </summary>
 /// <param name="parent">The parent tileCollection</param>
 public TileCollectionEnumerator(TileCollection parent)
 {
     _tiles = parent.Tiles;
     _row   = 0;
     _col   = -1;
 }
コード例 #2
0
ファイル: TiledImage.cs プロジェクト: vahidarr/DotSpatial
 /// <summary>
 /// Even if this TiledImage has already been constructed, we can initialize the tile collection later.
 /// </summary>
 /// <param name="width"></param>
 /// <param name="height"></param>
 public void Init(int width, int height)
 {
     _tiles           = new TileCollection(width, height);
     TypeName         = "TileImage";
     SpaceTimeSupport = SpaceTimeSupport.Spatial;
 }
コード例 #3
0
ファイル: TiledImage.cs プロジェクト: rajGSC/DotSpatial
 /// <summary>
 /// Even if this TiledImage has already been constructed, we can initialize the tile collection later.
 /// </summary>
 /// <param name="width"></param>
 /// <param name="height"></param>
 public void Init(int width, int height)
 {
     _tiles = new TileCollection(width, height);
 }