Class ReadOnlyPoint
The X and Y fields of the ReadyOnlyPoint can not be set. This was introduced as Center field of the Viewport.
Inheritance
System.Object
ReadOnlyPoint
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Geometries
Assembly: Mapsui.dll
Syntax
public class ReadOnlyPoint
Constructors
| Improve this Doc View SourceReadOnlyPoint(ReadOnlyPoint)
Declaration
public ReadOnlyPoint(ReadOnlyPoint readOnlyPoint)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyPoint | readOnlyPoint |
ReadOnlyPoint(Double, Double)
Declaration
public ReadOnlyPoint(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | |
System.Double | y |
Properties
| Improve this Doc View SourceX
Declaration
public double X { get; }
Property Value
Type | Description |
---|---|
System.Double |
Y
Declaration
public double Y { get; }
Property Value
Type | Description |
---|---|
System.Double |
Operators
| Improve this Doc View SourceImplicit(Point to ReadOnlyPoint)
Implicit conversion from ReadOnlyPoint to Point
Declaration
public static implicit operator ReadOnlyPoint(Point point)
Parameters
Type | Name | Description |
---|---|---|
Point | point |
Returns
Type | Description |
---|---|
ReadOnlyPoint |
Implicit(ReadOnlyPoint to Point)
Implicit conversion from Point to ReadOnlyPoint
Declaration
public static implicit operator Point(ReadOnlyPoint readOnlyPoint)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyPoint | readOnlyPoint |
Returns
Type | Description |
---|---|
Point |