InteractionArguments¶
Namespace: ThinkGeo.UI.Wpf
This class encapsulates the information and simple method for interactive actions.
public class InteractionArguments
Inheritance Object → InteractionArguments
Properties¶
ScreenX¶
Gets or sets the screen X position.
public float ScreenX { get; set; }
Property Value¶
ScreenY¶
Gets or sets the screen Y position.
public float ScreenY { get; set; }
Property Value¶
WorldX¶
Gets or sets the world X position.
public double WorldX { get; set; }
Property Value¶
WorldY¶
Gets or sets the world Y position.
public double WorldY { get; set; }
Property Value¶
MouseButton¶
Gets and sets which button is clicked on the map canvas.
public MapMouseButton MouseButton { get; set; }
Property Value¶
CurrentExtent¶
Gets or sets the current extent used in the MapControl.
public RectangleShape CurrentExtent { get; set; }
Property Value¶
RectangleShape
SearchingTolerance¶
Gets or sets the searching tolerance for tracking and editing.
public double SearchingTolerance { get; set; }
Property Value¶
MapWidth¶
Gets or sets the width of the map in screen units.
public double MapWidth { get; set; }
Property Value¶
MapHeight¶
Gets or sets the height of the map in screen units.
public double MapHeight { get; set; }
Property Value¶
ManipulationDelta¶
Gets or sets the current manipulation delta when handling touch gestures.
public ManipulationDelta ManipulationDelta { get; set; }
Property Value¶
ManipulationDelta
ManipulationOrigin¶
Gets or sets the origin point of the current manipulation gesture.
public Point ManipulationOrigin { get; set; }
Property Value¶
Point
MapUnit¶
Gets or sets the unit for the Map Control.
public GeographyUnit MapUnit { get; set; }
Property Value¶
GeographyUnit
ZoomLevelSet¶
Gets or sets the ZoomLevelSet used in the Map Control.
public ZoomLevelSet ZoomLevelSet { get; set; }
Property Value¶
ZoomLevelSet
MouseWheelDelta¶
Gets or sets the Mouse wheel delta used in the MouseWheel method in InteractiveOverlay.
public int MouseWheelDelta { get; set; }
Property Value¶
Scale¶
Gets or sets the scale in current status.
public double Scale { get; set; }
Property Value¶
Constructors¶
InteractionArguments()¶
Initializes a new instance of the InteractionArguments class with default values.
public InteractionArguments()
Methods¶
ToString()¶
Override the ToString API for object.
public string ToString()
Returns¶
String
Returns a string to mark this instance and easy to read its properties.