Class TCoords

Unit

Declaration

type TCoords = class(TInterfacedObject, ICoords)

Description

Map coordinates

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetX: Cardinal;
Public procedure SetX(X: Cardinal);
Public function GetY: Cardinal;
Public procedure SetY(Y: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TCoords;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property X: Cardinal read GetX write SetX;
Public property Y: Cardinal read GetY write SetY;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetX: Cardinal;

This item has no description.

Public procedure SetX(X: Cardinal);

This item has no description.

Public function GetY: Cardinal;

This item has no description.

Public procedure SetY(Y: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TCoords object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TCoords;

Deserializes an instance of TCoords from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property X: Cardinal read GetX write SetX;

Note
Value range is 0-252

Public property Y: Cardinal read GetY write SetY;

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.