Show / Hide Table of Contents

Class Point

A point on a two-dimensional plane.

Inheritance
System.Object
Point
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:GoogleMaps
Assembly:GoogleMaps.dll
Syntax
public class Point : IScriptDescriptorData

Constructors

Point()

Initializes a new instance of the Point class.

Declaration
public Point()

Point(Int32, Int32)

Initializes a new instance of the Point.

Declaration
public Point(int x, int y)
Parameters
Type Name Description
System.Int32 x

The x.

System.Int32 y

The y.

Fields

DefaultMarkerIconAnchor

The default marker icon location point.

Declaration
public static readonly Point DefaultMarkerIconAnchor
Field Value
Type Description
Point

Properties

X

Gets or sets the X.

Declaration
public int X { get; set; }
Property Value
Type Description
System.Int32

The X.

Y

Gets or sets the Y.

Declaration
public int Y { get; set; }
Property Value
Type Description
System.Int32

The Y.

Methods

Equals(Point)

Equalizes the specified point.

Declaration
public virtual bool Equals(Point point)
Parameters
Type Name Description
Point point

The point.

Returns
Type Description
System.Boolean

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

Another object to compare to.

Returns
Type Description
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

Overrides
System.Object.Equals(System.Object)

FromScriptData(Object)

Retrieves an instance from script data.

Declaration
public static Point FromScriptData(object scriptObject)
Parameters
Type Name Description
System.Object scriptObject

The script object.

Returns
Type Description
Point

GetHashCode()

Returns the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A 32-bit signed integer that is the hash code for this instance.

Overrides
System.Object.GetHashCode()

Parse(String)

Parses the specified value.

Declaration
public static Point Parse(string value)
Parameters
Type Name Description
System.String value

The value.

Returns
Type Description
Point

ToScriptData()

Returns the instance as a script data.

Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>
Implements
IScriptDescriptorData.ToScriptData()

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String containing a fully qualified type name.

Overrides
System.Object.ToString()

Operators

Equality(Point, Point)

Implements the operator ==.

Declaration
public static bool operator ==(Point a, Point b)
Parameters
Type Name Description
Point a

A.

Point b

The b.

Returns
Type Description
System.Boolean

The result of the operator.

Implicit(String to Point)

Performs an implicit conversion from System.String to Point.

Declaration
public static implicit operator Point(string value)
Parameters
Type Name Description
System.String value

The value.

Returns
Type Description
Point

The result of the conversion.

Inequality(Point, Point)

Implements the operator !=.

Declaration
public static bool operator !=(Point a, Point b)
Parameters
Type Name Description
Point a

A.

Point b

The b.

Returns
Type Description
System.Boolean

The result of the operator.

Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX