C# Class Mapsui.Viewport

Inheritance: IViewport
显示文件 Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
ScreenToWorld ( Point screenPosition ) : Point
ScreenToWorld ( double screenX, double screenY ) : Point
Transform ( double screenX, double screenY, double previousScreenX, double previousScreenY, double deltaScale = 1 ) : void
Viewport ( ) : Mapsui.Geometries
Viewport ( Viewport viewport ) : Mapsui.Geometries
WorldToScreen ( Point worldPosition ) : Point
WorldToScreen ( double worldX, double worldY ) : Point
WorldToScreenUnrotated ( Point worldPosition ) : Point
WorldToScreenUnrotated ( double worldX, double worldY ) : Point

Private Methods

Method Description
UpdateExtent ( ) : void

Method Details

ScreenToWorld() public method

public ScreenToWorld ( Point screenPosition ) : Point
screenPosition Point
return Point

ScreenToWorld() public method

public ScreenToWorld ( double screenX, double screenY ) : Point
screenX double
screenY double
return Point

Transform() public method

public Transform ( double screenX, double screenY, double previousScreenX, double previousScreenY, double deltaScale = 1 ) : void
screenX double
screenY double
previousScreenX double
previousScreenY double
deltaScale double
return void

Viewport() public method

public Viewport ( ) : Mapsui.Geometries
return Mapsui.Geometries

Viewport() public method

public Viewport ( Viewport viewport ) : Mapsui.Geometries
viewport Viewport
return Mapsui.Geometries

WorldToScreen() public method

public WorldToScreen ( Point worldPosition ) : Point
worldPosition Point
return Point

WorldToScreen() public method

public WorldToScreen ( double worldX, double worldY ) : Point
worldX double
worldY double
return Point

WorldToScreenUnrotated() public method

public WorldToScreenUnrotated ( Point worldPosition ) : Point
worldPosition Point
return Point

WorldToScreenUnrotated() public method

public WorldToScreenUnrotated ( double worldX, double worldY ) : Point
worldX double
worldY double
return Point