Show / Hide Table of Contents

    Class EvasMap

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    The EvasMap is an opaque handle to map points.

    public class EvasMap
    Inheritance
    Object
    EvasMap

    Constructors

    View Source

    EvasMap(Int32)

    Creates and initializes a new instance of the EvasMap class.

    Declaration
    public EvasMap(int count)
    Parameters
    Type Name Description
    Int32 count

    The number of points in the map

    API Level: preview

    Properties

    View Source

    IsMoveSync

    Gets or sets the flag of the object to move synchronization for map rendering.

    Declaration
    public bool IsMoveSync { get; set; }
    Property Value
    Type Description
    Boolean
    API Level: preview

    Methods

    View Source

    Finalize()

    Destructor for the EvasMap class.

    Declaration
    protected void Finalize()
    View Source

    GetPointCoordinate(Int32)

    Gets the map point's coordinate.

    Declaration
    public Point3D GetPointCoordinate(int idx)
    Parameters
    Type Name Description
    Int32 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.

    API Level: preview
    View Source

    PopulatePoints(EvasObject)

    Populates the source and destination map points to exactly match the object.

    Declaration
    public void PopulatePoints(EvasObject obj)
    Parameters
    Type Name Description
    EvasObject obj

    The object to use unmapped geometry to populate the map coordinates.

    API Level: preview
    View Source

    PopulatePoints(EvasObject, Int32)

    Populates the source and destination map points to exactly match the object.

    Declaration
    public void PopulatePoints(EvasObject obj, int z)
    Parameters
    Type Name Description
    EvasObject obj

    The object to use unmapped geometry to populate the map coordinates.

    Int32 z

    The point Z-coordinate hint (pre-perspective transform). This value is used for all the four points.

    API Level: preview
    View Source

    PopulatePoints(Rect, Int32)

    Populates the source and destination map points to match the given geometry.

    Declaration
    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.

    Int32 z

    The Z-coordinate hint (pre-perspective transform) This value is used for all the four points.

    API Level: preview
    View Source

    Rotate(Double, Int32, Int32)

    Rotates the map.

    Declaration
    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.

    Int32 cx

    The rotation's center horizontal position.

    Int32 cy

    The rotation's center vertical position.

    API Level: preview
    View Source

    Rotate3D(Double, Double, Double, Int32, Int32, Int32)

    Rotates the map around 3 axes in 3D.

    Declaration
    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.

    Int32 cx

    The rotation's center horizontal position.

    Int32 cy

    The rotation's center vertical position.

    Int32 cz

    The rotation's center depth position.

    API Level: preview
    View Source

    SetPointCoordinate(Int32, Point3D)

    Changes the map point's coordinate.

    Declaration
    public void SetPointCoordinate(int idx, Point3D point)
    Parameters
    Type Name Description
    Int32 idx

    The index of point to change, this must be smaller than the map size.

    Point3D point

    The 3D point coordinate.

    API Level: preview
    View Source

    Zoom(Double, Double, Int32, Int32)

    Changes the map to apply the given zooming.

    Declaration
    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.

    Int32 cx

    The zooming center horizontal position.

    Int32 cy

    The zooming center vertical position.

    API Level: preview
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX