Class EvasMap
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The EvasMap is an opaque handle to map points.
[Obsolete("This has been deprecated in API12")]
public class EvasMap
- Inheritance
-
objectEvasMap
Constructors
View SourceEvasMap(int)
Creates and initializes a new instance of the EvasMap class.
Declaration
[Obsolete("This has been deprecated in API12")]
public EvasMap(int count)
Parameters
Type | Name | Description |
---|---|---|
int | count | The number of points in the map |
Properties
View SourceIsMoveSync
Gets or sets the flag of the object to move synchronization for map rendering.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool IsMoveSync { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
View Source~EvasMap()
Destructor for the EvasMap class.
Declaration
protected ~EvasMap()
GetPointCoordinate(int)
Gets the map point's coordinate.
Declaration
[Obsolete("This has been deprecated in API12")]
public Point3D GetPointCoordinate(int idx)
Parameters
Type | Name | Description |
---|---|---|
int | idx | The index of point to change, this must be smaller than the map size. |
Returns
Type | Description |
---|---|
Point3D | The coordinates of a given point in the map. |
PopulatePoints(EvasObject, int)
Populates the source and destination map points to exactly match the object.
Declaration
[Obsolete("This has been deprecated in API12")]
public void PopulatePoints(EvasObject obj, int z)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The object to use unmapped geometry to populate the map coordinates. |
int | z | The point Z-coordinate hint (pre-perspective transform). This value is used for all the four points. |
PopulatePoints(EvasObject)
Populates the source and destination map points to exactly match the object.
Declaration
[Obsolete("This has been deprecated in API12")]
public void PopulatePoints(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The object to use unmapped geometry to populate the map coordinates. |
PopulatePoints(Rect, int)
Populates the source and destination map points to match the given geometry.
Declaration
[Obsolete("This has been deprecated in API12")]
public void PopulatePoints(Rect geometry, int z)
Parameters
Type | Name | Description |
---|---|---|
Rect | geometry | The geometry value contains X-coordinate, Y-coordinate, the width and height to use, to calculate the second and third points. |
int | z | The Z-coordinate hint (pre-perspective transform) This value is used for all the four points. |
Rotate(double, int, int)
Rotates the map.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Rotate(double degrees, int cx, int cy)
Parameters
Type | Name | Description |
---|---|---|
double | degrees | The abount of degrees from 0.0 to 360.0 to rotate. |
int | cx | The rotation's center horizontal position. |
int | cy | The rotation's center vertical position. |
Rotate3D(double, double, double, int, int, int)
Rotates the map around 3 axes in 3D.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Rotate3D(double dx, double dy, double dz, int cx, int cy, int cz)
Parameters
Type | Name | Description |
---|---|---|
double | dx | The amount of degrees from 0.0 to 360.0 to rotate around the X-axis. |
double | dy | The amount of degrees from 0.0 to 360.0 to rotate around the Y-axis. |
double | dz | The amount of degrees from 0.0 to 360.0 to rotate around the Z-axis. |
int | cx | The rotation's center horizontal position. |
int | cy | The rotation's center vertical position. |
int | cz | The rotation's center depth position. |
SetPointCoordinate(int, Point3D)
Changes the map point's coordinate.
Declaration
[Obsolete("This has been deprecated in API12")]
public void SetPointCoordinate(int idx, Point3D point)
Parameters
Type | Name | Description |
---|---|---|
int | idx | The index of point to change, this must be smaller than the map size. |
Point3D | point | The 3D point coordinate. |
Zoom(double, double, int, int)
Changes the map to apply the given zooming.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Zoom(double x, double y, int cx, int cy)
Parameters
Type | Name | Description |
---|---|---|
double | x | The horizontal zoom to use. |
double | y | The vertical zoom to use. |
int | cx | The zooming center horizontal position. |
int | cy | The zooming center vertical position. |