normal property

Offset? normal
final

Optional unit vector perpendicular to the shape edge at this anchor point.

Used for calculating connection tangents. For example:

  • Left port: Offset(-1, 0)
  • Right port: Offset(1, 0)
  • Top port: Offset(0, -1)
  • Bottom port: Offset(0, 1)

Implementation

final Offset? normal;