Class TByteCoords

Unit

Declaration

type TByteCoords = class(TInterfacedObject, IByteCoords)

Description

Map coordinates with raw 1-byte values

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): TByteCoords;

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 TByteCoords object to the provided TEoWriter.

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

Deserializes an instance of TByteCoords 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-255

Public property Y: Cardinal read GetY write SetY;

Note
Value range is 0-255


Generated by PasDoc 0.16.0-snapshot.