Skip to main content

useOrtho

Turn on/off orthographic locking when drawing measurements and annotations. When drawing a line or arrow the line will snap to the selected angle.

Syntax

    RxCore.useOrtho(onoff, degree);

Parameters

  • onOff: booleantrue = on, false = off.
  • degree: number — A value for the angle in degrees of the ortho locking supported values are 45 and 90.

Returns

  • NA — This method does not return a value.