Class OISnapManager

Accessors

  • get model(): OIModel
  • Returns OIModel

  • get otherSnapPoints(): TPoint[]
  • Returns TPoint[]

  • get selectionSnapPoints(): TPoint[]
  • Returns TPoint[]

  • get snapThreshold(): number
  • Returns number

Constructors

  • Parameters

    • behaviors: OIBehaviors
    • Optional options: {
          angle?: number;
          element?: boolean;
          grid?: boolean;
      }
      • Optional angle?: number
      • Optional element?: boolean
      • Optional grid?: boolean

    Returns OISnapManager

Methods

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns TPoint

  • Parameters

    • y: number

    Returns number

  • Parameters

    • x: number

    Returns number

  • Parameters

    • point: TPoint
    • horizontal: boolean = true
    • vertical: boolean = true

    Returns TPoint

  • Parameters

    • angleDegree: number

    Returns number

  • Parameters

    • tx: number
    • ty: number

    Returns TPoint

Properties

#logger: Logger = ...
behaviors: OIBehaviors
snapAngle: number
snapToElement: boolean
snapToGrid: boolean

Generated using TypeDoc