DrawDirection

public enum DrawDirection : String, Encodable

When dragmode is set to drawrect, drawline or drawcircle this limits the drag to be horizontal, vertical or diagonal.

Using diagonal there is no limit e.g. in drawing lines in any direction. ortho limits the draw to be either horizontal or vertical. horizontal allows horizontal extend. vertical allows vertical extend.

  • Undocumented

    Declaration

    Swift

    case ortho
  • Undocumented

    Declaration

    Swift

    case horizontal
  • Undocumented

    Declaration

    Swift

    case vertical
  • Undocumented

    Declaration

    Swift

    case diagonal