Gimp.Image.prototype.grid_get_spacing
function grid_get_spacing(): [ok: Boolean, xspacing: Number(gdouble), yspacing: Number(gdouble)] {
// Gjs wrapper for gimp_image_grid_get_spacing()
}
Gets the spacing of an image's grid.
This procedure retrieves the horizontal and vertical spacing of an image's grid. It takes the image as parameter.
Since 2.4
- ok
TRUE on success.
- xspacing
The image's grid horizontal spacing.
- yspacing
The image's grid vertical spacing.