Show / Hide Table of Contents

Struct BoundedRectangleSerialized

Serializable (pure-data) object representing a BoundedRectangle.

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 BoundedRectangleSerialized

Fields

View Source

Area

Area the rectangle encompasses.

Declaration
public RectangleSerialized Area
Field Value
Type Description
RectangleSerialized
View Source

Bounds

Bounds the area is restricted to.

Declaration
public RectangleSerialized Bounds
Field Value
Type Description
RectangleSerialized

Operators

View Source

implicit operator BoundedRectangleSerialized(BoundedRectangle)

Converts BoundedRectangle to BoundedRectangleSerialized.

Declaration
public static implicit operator BoundedRectangleSerialized(BoundedRectangle rect)
Parameters
Type Name Description
BoundedRectangle rect
Returns
Type Description
BoundedRectangleSerialized
View Source

implicit operator BoundedRectangle(BoundedRectangleSerialized)

Converts BoundedRectangleSerialized to BoundedRectangle.

Declaration
public static implicit operator BoundedRectangle(BoundedRectangleSerialized rect)
Parameters
Type Name Description
BoundedRectangleSerialized rect
Returns
Type Description
BoundedRectangle

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