C# Class Mapstache.Utf8Grid

Inheritance: IDisposable
显示文件 Open project: awcoats/mapstache Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CreateBrush ( int p ) : Brush
CreateGraphics ( ) : Graphics
CreatePen ( int p ) : Pen
CreateUtfGridJson ( ) : string
Dispose ( ) : void
FillPolygon ( SqlGeography geography, int i, object data = null ) : void
GetBoundingBoxInLatLngWithMargin ( int tileX, int tileY, int zoom ) : RectangleF
IntToRgb ( int p ) : Color
RgbToInt ( int start, byte rgbValues, int x ) : int
Utf8Grid ( int utfGridResolution, int tileX, int tileY, int zoom ) : System

Method Details

CreateBrush() public static method

public static CreateBrush ( int p ) : Brush
p int
return System.Drawing.Brush

CreateGraphics() public method

public CreateGraphics ( ) : Graphics
return System.Drawing.Graphics

CreatePen() public static method

public static CreatePen ( int p ) : Pen
p int
return System.Drawing.Pen

CreateUtfGridJson() public method

public CreateUtfGridJson ( ) : string
return string

Dispose() public method

public Dispose ( ) : void
return void

FillPolygon() public method

public FillPolygon ( SqlGeography geography, int i, object data = null ) : void
geography SqlGeography
i int
data object
return void

GetBoundingBoxInLatLngWithMargin() public method

public GetBoundingBoxInLatLngWithMargin ( int tileX, int tileY, int zoom ) : RectangleF
tileX int
tileY int
zoom int
return System.Drawing.RectangleF

IntToRgb() public static method

public static IntToRgb ( int p ) : Color
p int
return Color

RgbToInt() public static method

public static RgbToInt ( int start, byte rgbValues, int x ) : int
start int
rgbValues byte
x int
return int

Utf8Grid() public method

public Utf8Grid ( int utfGridResolution, int tileX, int tileY, int zoom ) : System
utfGridResolution int
tileX int
tileY int
zoom int
return System