Show / Hide Table of Contents

Class BoundedRectangleSerialized

Serializable (pure-data) object representing a BoundedRectangle.

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

Fields

Area

Area the rectangle encompasses.

Declaration
public RectangleSerialized Area
Field Value
Type Description
RectangleSerialized

Bounds

Bounds the area is restricted to.

Declaration
public RectangleSerialized Bounds
Field Value
Type Description
RectangleSerialized

Operators

Implicit(BoundedRectangle to BoundedRectangleSerialized)

Converts BoundedRectangle to BoundedRectangleSerialized.

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

Implicit(BoundedRectangleSerialized to BoundedRectangle)

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