API Panel.Position.Math.GetDiff

From Flowcode Help
Revision as of 15:57, 16 January 2014 by JonnyW (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

<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 CoordSpace

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, coordspace)

No additional examples