oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

Structure containing width and height of an object. More...

Inheritance diagram for oevislib_net.Basic.Size:

Public Member Functions

 Size ()
 Constructs an empty Size object, with both width and height to zero.
 Size (int inWidth, int inHeight)
 Constructs a new Size object with specified width and height.
ByteBuffer Serialize ()
 Serializes the object.
bool Equals (Size other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()

Static Public Member Functions

static bool operator== (Size inSize1, Size inSize2)
static bool operator!= (Size inSize1, Size inSize2)
static Size Deserialize (ByteBuffer inBuffer)
 De-serialize a Size buffer.

Properties

int Width = 0 [get, set]
int Height = 0 [get, set]

Detailed Description

Structure containing width and height of an object.

Constructor & Destructor Documentation

◆ Size() [1/2]

oevislib_net.Basic.Size.Size ( )
inline

Constructs an empty Size object, with both width and height to zero.

◆ Size() [2/2]

oevislib_net.Basic.Size.Size ( int inWidth,
int inHeight )
inline

Constructs a new Size object with specified width and height.

Parameters
inWidthWidth.
inHeightHeight.

Member Function Documentation

◆ Deserialize()

Size oevislib_net.Basic.Size.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Size buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Serialize()

ByteBuffer oevislib_net.Basic.Size.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.