Packed Record TVector2Byte

Unit

Declaration

type TVector2Byte = packed record

Description

Vector of 2 Byte values.

See also
TVector3Byte
Vector of 3 Byte values.

Overview

Nested Types

Public TIndex = 0..1;

Fields

Public var X: Byte;
Public var Y: Byte;

Methods

Public class operator + (const A, B: TVector2Byte): TVector2Byte; inline;
Public class operator - (const A, B: TVector2Byte): TVector2Byte; inline;
Public class operator - (const V: TVector2Byte): TVector2Byte; inline;
Public function ToString: string;
Public function IsZero: boolean; inline;
Public class function Equals(const V1, V2: TVector2Byte): boolean; static; inline;
Public class function Zero: TVector2Byte; static; inline;

Properties

Public property Data [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields';
Public property AsArray [const Index: TIndex]: Byte read GetItems;
Public property Items [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields';

Description

Nested Types

Public TIndex = 0..1;

This item has no description.

Fields

Public var X: Byte;

This item has no description.

Public var Y: Byte;

This item has no description.

Methods

Public class operator + (const A, B: TVector2Byte): TVector2Byte; inline;

This item has no description.

Public class operator - (const A, B: TVector2Byte): TVector2Byte; inline;

This item has no description.

Public class operator - (const V: TVector2Byte): TVector2Byte; inline;

This item has no description.

Public function ToString: string;

This item has no description.

Public function IsZero: boolean; inline;

This item has no description.

Public class function Equals(const V1, V2: TVector2Byte): boolean; static; inline;

This item has no description.

Public class function Zero: TVector2Byte; static; inline;

This item has no description.

Properties

Public property Data [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields';

Warning: this symbol is deprecated: use instead X, Y fields

Access (get, set) vector components by index. We discourage using it. Use X, Y to change vector components. Use AsArray to access it by index, read-only.

Public property AsArray [const Index: TIndex]: Byte read GetItems;

Get vector components by index.

Public property Items [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields';

Warning: this symbol is deprecated: use instead X, Y fields

This item has no description.


Generated by PasDoc 0.16.0.