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