Selection
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_selection_get_type ()" ) ]
public class Selection :
Channel
Functions for manipulating selections.
Content:
Static methods:
- public static bool all (Image image)
Select all of the image.
- public static bool border (Image image, int radius)
Border the image's selection
- public static bool bounds (Image image, out bool non_empty, out int x1, out int y1, out int x2, out int y2)
Find the bounding box of the current selection.
- public static bool feather (Image image, double radius)
Feather the image's selection
- public static unowned Layer float (Image image, Drawable[] drawables, int offx, int offy)
Float the selection from the specified drawable with initial offsets
as specified.
- public static bool flood (Image image)
Remove holes from the image's selection
- public static unowned Selection? get_by_id (int32 selection_id)
Returns a Selection representing
selection_id.
- public static bool grow (Image image, int steps)
Grow the image's selection
- public static bool invert (Image image)
Invert the selection mask.
- public static bool is_empty (Image image)
Determine whether the selection is empty.
- public static bool none (Image image)
Deselect the entire image.
- public static unowned Channel save (Image image)
Copy the selection mask to a new channel.
- public static bool sharpen (Image image)
Sharpen the selection mask.
- public static bool shrink (Image image, int steps)
Shrink the image's selection
- public static bool translate (Image image, int offx, int offy)
Translate the selection by the specified offsets.
- public static int value (Image image, int x, int y)
Find the value of the selection at the specified coordinates.
Creation methods:
Inherited Members:
All known members inherited from class Gimp.Channel
All known members inherited from class Gimp.Drawable
All known members inherited from class Gimp.Item
All known members inherited from class GLib.Object