ISnapLinesConfig Interface

A structure containing the configuration of snap lines.

configuration = {
    canvas: {
        snapLines: {
            enabled: false


Optional color

color: string

Snap line color.

Optional enabled

enabled: boolean

Displays snap lines. It is true by default.

Optional tolerance

tolerance: number

The distance between an object and a snap line where the object clings to the line. It is measured in pixels.