Show / Hide Table of Contents

Class PointSerialized

Serializable (pure-data) object representing a Point.

Inheritance
Object
PointSerialized
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public sealed class PointSerialized : ValueType

Fields

X

X-coordinate of the point.

Declaration
public int X
Field Value
Type Description
Int32

Y

Y-coordinate of the point.

Declaration
public int Y
Field Value
Type Description
Int32

Operators

Implicit(Point to PointSerialized)

Converts from Point to PointSerialized.

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

Implicit(PointSerialized to Point)

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>>)
In This Article
Back to top Generated by DocFX