Record TVector2Cardinal
Unit
Declaration
type TVector2Cardinal = record
Description
Vector of 2 Cardinal values.
See also
- TVector3Cardinal
- Vector of 3 Cardinal values.
Overview
Nested Types
TIndex = 0..1; |
Fields
var X: Cardinal; |
|
var Y: Cardinal; |
Methods
class operator + (const A, B: TVector2Cardinal): TVector2Cardinal; inline; |
|
class operator - (const A, B: TVector2Cardinal): TVector2Cardinal; inline; |
|
class operator - (const V: TVector2Cardinal): TVector2Cardinal; inline; |
|
function ToString: string; |
|
function IsZero: boolean; inline; |
|
class function Equals(const V1, V2: TVector2Cardinal): boolean; static; inline; |
|
class function Zero: TVector2Cardinal; static; inline; |
Properties
property Data [constIndex:TIndex]: Cardinal read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
|
property AsArray [constIndex:TIndex]: Cardinal read GetItems; |
|
property Items [constIndex:TIndex]: Cardinal read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
Description
Nested Types
TIndex = 0..1; |
|
Fields
var X: Cardinal; |
|
var Y: Cardinal; |
|
Methods
class operator + (const A, B: TVector2Cardinal): TVector2Cardinal; inline; |
|
class operator - (const A, B: TVector2Cardinal): TVector2Cardinal; inline; |
|
class operator - (const V: TVector2Cardinal): TVector2Cardinal; inline; |
|
function ToString: string; |
|
function IsZero: boolean; inline; |
|
class function Equals(const V1, V2: TVector2Cardinal): boolean; static; inline; |
|
class function Zero: TVector2Cardinal; static; inline; |
|
Properties
property Data [constIndex:TIndex]: Cardinal 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. |
property AsArray [constIndex:TIndex]: Cardinal read GetItems; |
|
Get vector components by index. |
property Items [constIndex:TIndex]: Cardinal read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
|
Warning: this symbol is deprecated: use instead X, Y fields |
Generated by PasDoc 0.16.0.