TSdlPoint
The structure that defines a point (using integers).
Definition
Unit: Neslib.Sdl3.Video
Fields
Name | Description |
---|---|
X | |
Y |
Constructors
Name | Description |
---|---|
Create(TPoint) | Create from a TPoint. |
Create(Integer, Integer) | Create from X and Y values. |
Methods
Name | Description |
---|---|
Init(TPoint) | Initialize from a TPoint. |
Init(Integer, Integer) | Initialize from X and Y values. |
Field Descriptions
X
var X: Integer
Type: Integer
Y
var Y: Integer
Type: Integer
Constructor Descriptions
Create
Create from a TPoint.
constructor Create(const APoint: TPoint); overload
Parameters
APoint
: TPoint
: The TPoint.
Remarks
It is safe to call this constructor from any thread.
Create
Create from X and Y values.
constructor Create(const AX, AY: Integer); overload
Parameters
AX
: Integer
: The X value.
AY
: Integer
: The Y value.
Remarks
It is safe to call this constructor from any thread.
Method Descriptions
Init(TPoint)
Initialize from a TPoint.
procedure Init(const APoint: TPoint); overload; inline
Parameters
APoint
: TPoint
: The TPoint.
Remarks
It is safe to call this method from any thread.
Init(Integer, Integer)
Initialize from X and Y values.
procedure Init(const AX, AY: Integer); overload; inline
Parameters
AX
: Integer
: The X value.
AY
: Integer
: The Y value.
Remarks
It is safe to call this method from any thread.