Jump to content

API Panel.Position.Math.GetDiff: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of updated API docs
 
JonnyW (talk | contribs)
XML import of API documentation
Line 1: Line 1:




<sidebar>API contents</sidebar>
<sidebar>API Contents</sidebar>
Gets the difference between two positions
Gets the difference between two positions



Revision as of 14:27, 9 August 2013


<sidebar>API Contents</sidebar> Gets the difference between two positions

Class hierarchy

Panel

Position
Math
GetDiff

Parameters

HANDLE Pos

Position to act as the minuend to calculate position from

HANDLE Sub

The position to subrtact from Pos

HANDLE Relative

Position space to calculate the difference in
The default value for this parameter is: this


Return value

HANDLE

Returns the difference between two positions


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Panel.Position.Math.GetDiff(pos, sub, relative)

No additional examples