📄 tile.cs
字号:
// Copyright (c) Jason Fuller.
//
// Use of this source code is subject to the terms of the license found in the
// file License.txt. If you did not accept the terms of that license, you are
// not authorized to use this source code.
#region Using directives
using System;
using System.Drawing;
#endregion
namespace PocketEarth
{
/// <summary>
/// An image tile and its corresponding URL.
/// </summary>
public class Tile
{
/// <summary>
/// The URL of the image tile.
/// </summary>
private string url;
/// <summary>
/// The bitmap of the image tile.
/// </summary>
private Bitmap bitmap;
public string Url
{
get { return url; }
}
public Bitmap Bitmap
{
get { return bitmap; }
}
public Tile(string url, Bitmap bitmap)
{
this.url = url;
this.bitmap = bitmap;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -