Brush
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_brush_get_type ()" ) ]
public class Brush :
Resource,
ConfigInterface
Installable object used by painting and stroking tools.
Content:
Static methods:
Creation methods:
Methods:
- public bool get_angle (out double angle)
Gets the rotation angle of a generated brush.
- public bool get_aspect_ratio (out double aspect_ratio)
Gets the aspect ratio of a generated brush.
- public Buffer get_buffer (int max_width, int max_height, Object format)
Gets pixel data of the brush within the bounding box specified by
max_width and max_height.
- public bool get_hardness (out double hardness)
Gets the hardness of a generated brush.
- public bool get_info (out int width, out int height, out int mask_bpp, out int color_bpp)
Gets information about the brush.
- public Buffer get_mask (int max_width, int max_height, Object format)
Gets mask data of the brush within the bounding box specified by
max_width and max_height.
- public bool get_radius (out double radius)
Gets the radius of a generated brush.
- public bool get_shape (out BrushGeneratedShape shape)
Gets the shape of a generated brush.
- public int get_spacing ()
Gets the brush spacing, the stamping frequency.
- public bool get_spikes (out int spikes)
Gets the number of spikes for a generated brush.
- public bool is_generated ()
Whether the brush is generated (parametric versus raster).
- public bool set_angle (double angle_in, out double angle_out)
Sets the rotation angle of a generated brush.
- public bool set_aspect_ratio (double aspect_ratio_in, out double aspect_ratio_out)
Sets the aspect ratio of a generated brush.
- public bool set_hardness (double hardness_in, out double hardness_out)
Sets the hardness of a generated brush.
- public bool set_radius (double radius_in, out double radius_out)
Sets the radius of a generated brush.
- public bool set_shape (BrushGeneratedShape shape_in, out BrushGeneratedShape shape_out)
Sets the shape of a generated brush.
- public bool set_spacing (int spacing)
Sets the brush spacing.
- public bool set_spikes (int spikes_in, out int spikes_out)
Sets the number of spikes for a generated brush.
Inherited Members:
All known members inherited from class Gimp.Resource
All known members inherited from class GLib.Object
All known members inherited from interface Gimp.ConfigInterface