Show / Hide Table of Contents

Struct PointSerialized

Serializable (pure-data) object representing a Point.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public struct PointSerialized

Fields

View Source

X

X-coordinate of the point.

Declaration
public int X
Field Value
Type Description
int
View Source

Y

Y-coordinate of the point.

Declaration
public int Y
Field Value
Type Description
int

Operators

View Source

implicit operator PointSerialized(Point)

Converts from Point to PointSerialized.

Declaration
public static implicit operator PointSerialized(Point point)
Parameters
Type Name Description
Point point
Returns
Type Description
PointSerialized
View Source

implicit operator Point(PointSerialized)

Converts from PointSerialized to Point.

Declaration
public static implicit operator Point(PointSerialized serialized)
Parameters
Type Name Description
PointSerialized serialized
Returns
Type Description
Point

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>?)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>?, EventHandler<ValueChangedEventArgs<TProperty>>?)
  • View Source
In this article
Back to top Generated by DocFX