Liking cljdoc? Tell your friends :D

hive-gimp.verbs.selection

PURE. Verbs over an image's selection: rectangle, ellipse, polygon, an item's alpha, invert, all, none, grow and shrink. Every verb answers the selection's Bounds afterwards, so a program can check what it selected. :op combines with the current selection (v/channel-ops, default :replace).

PURE. Verbs over an image's selection: rectangle, ellipse, polygon, an
item's alpha, invert, all, none, grow and shrink. Every verb answers the
selection's `Bounds` afterwards, so a program can check what it selected.
`:op` combines with the current selection (`v/channel-ops`, default
`:replace`).
raw docstring

allclj

(all image)

Select all of image.

Select all of `image`.
sourceraw docstring

boundsclj

(bounds image)

The Bounds of image's selection.

The `Bounds` of `image`'s selection.
sourceraw docstring

Boxclj

source

Combineclj

source

growclj

(grow image steps)

Grow image's selection by steps pixels.

Grow `image`'s selection by `steps` pixels.
sourceraw docstring

invertclj

(invert image)

Invert image's selection.

Invert `image`'s selection.
sourceraw docstring

noneclj

(none image)

Select nothing in image.

Select nothing in `image`.
sourceraw docstring

select-ellipseclj

(select-ellipse image {:keys [x y width height op]})

Select the ellipse inscribed in the box :x :y :width :height of image.

Select the ellipse inscribed in the box `:x :y :width :height` of `image`.
sourceraw docstring

select-itemclj

(select-item image item {:keys [op]})

Select the alpha of item (a layer's opaque pixels, a path's interior).

Select the alpha of `item` (a layer's opaque pixels, a path's interior).
sourceraw docstring

select-polygonclj

(select-polygon image points {:keys [op]})

Select the polygon through points ([[x y] ...], closed implicitly).

Select the polygon through `points` (`[[x y] ...]`, closed implicitly).
sourceraw docstring

select-rectangleclj

(select-rectangle image {:keys [x y width height op]})

Select the box :x :y :width :height of image.

Select the box `:x :y :width :height` of `image`.
sourceraw docstring

shrinkclj

(shrink image steps)

Shrink image's selection by steps pixels.

Shrink `image`'s selection by `steps` pixels.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close