# Grid Lines for Editing Images and Primitive

A grid can be used to perform precise positioning and sizing of shapes. by breaking the editor window up into divisions. You can show (or hide) grid lines by toggling the "View/Grid" option.

You can change the color of the grid by selecting a color from the color palette then using the "View/Grid Color" option. The granularity of the grid can be adjusted using the "View/Grid spacing" option. Using the “View/Grid spacing” option you can define the grid line interval by specifying either the total number of grid lines, or the distance (in real world coordinates) between successive grid lines.

By toggling the "View/Snap" option, you can restrain positioning and resizing of shapes to the intersections of the grid.

If the snap mode is active, the "View/Snap from" option allows you to specify which corner of a shape's bounding box will be aligned to the gird intersections during repositioning. If "View/Snap from/Center" is selected, a repositioned shape's center point will be glued to the grid intersections.