System.Types.TPointF.Reflect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Reflect(const APoint: TPointF): TPointF; inline;

C++

TPointF Reflect(const TPointF& P) const _ALWAYS_INLINE {

Properties

Type Visibility Source Unit Parent
function public
System.Types.pas
SystemTypes.h
System.Types TPointF

Description

Calculates the reflection of the current TPointF object according to the line created with the APoint provided.

  • APoint: The coordinates provided to calculate the reflection of the current TPointF object.

Reflect returns the coordinates of the TPointF object reflected according to the line created with the APoint provided.

See Also