Gimp.VectorLayer – gimp-3.0 Reference Manual
Packages
gimp-3.0
Gimp
VectorLayer
get_by_id
VectorLayer
get_enable_fill
get_enable_stroke
get_fill_color
get_fill_pattern
get_path
get_stroke_cap_style
get_stroke_color
get_stroke_dash_offset
get_stroke_dash_pattern
get_stroke_join_style
get_stroke_miter_limit
get_stroke_pattern
get_stroke_width
get_stroke_width_unit
refresh
set_enable_fill
set_enable_stroke
set_fill_color
set_stroke_cap_style
set_stroke_color
set_stroke_dash_offset
set_stroke_dash_pattern
set_stroke_join_style
set_stroke_miter_limit
set_stroke_width
set_stroke_width_unit
VectorLayer
Object Hierarchy:
Description:
[
CCode
( type_id =
"gimp_vector_layer_get_type ()"
) ]
public
class
VectorLayer
:
Layer
,
Rasterizable
Functions for querying and manipulating vector layers.
Namespace:
Gimp
Package:
gimp-3.0
Content:
Static methods:
public
static
unowned
VectorLayer
?
get_by_id
(
int32
layer_id)
Returns a
VectorLayer
representing
layer_id
.
Creation methods:
public
VectorLayer
(
Image
image,
Path
path)
Create a new vector layer.
Methods:
public
bool
get_enable_fill
()
Check if fill is enabled in the vector layer.
public
bool
get_enable_stroke
()
Check if stroke is enabled in the vector layer.
public
Color
get_fill_color
()
Get the color of the fill in a vector layer.
public
unowned
Pattern
get_fill_pattern
()
Get the pattern of the fill in a vector layer.
public
unowned
Path
get_path
()
Gets the path from the vector layer if one is associated with it.
public
CapStyle
get_stroke_cap_style
()
Get the stroke cap style of a vector layer.
public
Color
get_stroke_color
()
Get the color of the stroke in a vector layer.
public
double
get_stroke_dash_offset
()
Get the stroke dash offset of a vector layer.
public
bool
get_stroke_dash_pattern
(
out
double
[] dashes)
Get the stroke dash pattern of a vector layer.
public
JoinStyle
get_stroke_join_style
()
Get the stroke join style of a vector layer.
public
double
get_stroke_miter_limit
()
Get the stroke miter limit of a vector layer.
public
unowned
Pattern
get_stroke_pattern
()
Get the pattern of the stroke in a vector layer.
public
double
get_stroke_width
()
Get the stroke width of a vector layer.
public
unowned
Unit
get_stroke_width_unit
()
Get the stroke width unit of a vector layer.
public
bool
refresh
()
Rerender the vector layer
public
bool
set_enable_fill
(
bool
enable_fill)
Set whether the fill is enabled on the vector layer.
public
bool
set_enable_stroke
(
bool
enable_stroke)
Set whether the stroke is enabled on the vector layer.
public
bool
set_fill_color
(
Color
color)
Set the color of the fill in the vector layer.
public
bool
set_stroke_cap_style
(
CapStyle
cap_style)
Set the stroke cap style of a vector layer.
public
bool
set_stroke_color
(
Color
color)
Set the color of the stroke in the vector layer.
public
bool
set_stroke_dash_offset
(
double
dash_offset)
Set the stroke dash offset of a vector layer.
public
bool
set_stroke_dash_pattern
(
double
[] dashes)
Set the stroke dash pattern of a vector layer.
public
bool
set_stroke_join_style
(
JoinStyle
join_style)
Set the stroke join style of a vector layer.
public
bool
set_stroke_miter_limit
(
double
miter)
Set the stroke miter limit of a vector layer.
public
bool
set_stroke_width
(
double
width)
Set the stroke width of a vector layer.
public
bool
set_stroke_width_unit
(
Unit
unit)
Set the stroke width unit of a vector layer.
Inherited Members:
All known members inherited from class Gimp.Layer
add_alpha
add_mask
copy
create_mask
flatten
from_mask
get_apply_mask
get_blend_space
get_by_id
get_composite_mode
get_composite_space
get_edit_mask
get_lock_alpha
get_mask
get_mode
get_opacity
get_show_mask
is_floating_sel
remove_mask
resize
resize_to_image_size
scale
set_apply_mask
set_blend_space
set_composite_mode
set_composite_space
set_edit_mask
set_lock_alpha
set_mode
set_offsets
set_opacity
set_show_mask
All known members inherited from class Gimp.Drawable
append_filter
brightness_contrast
color_balance
colorize_hsl
curves_explicit
curves_spline
desaturate
edit_bucket_fill
edit_clear
edit_fill
edit_gradient_fill
edit_stroke_item
edit_stroke_selection
equalize
extract_component
fill
foreground_extract
free_shadow
get_bpp
get_buffer
get_by_id
get_filters
get_format
get_height
get_offsets
get_pixel
get_shadow_buffer
get_sub_thumbnail
get_sub_thumbnail_data
get_thumbnail
get_thumbnail_data
get_thumbnail_format
get_width
has_alpha
histogram
hue_saturation
invert
is_gray
is_indexed
is_rgb
levels
levels_stretch
mask_bounds
mask_intersect
merge_filter
merge_filters
merge_shadow
offset
posterize
set_pixel
shadows_highlights
threshold
type
type_with_alpha
update
All known members inherited from class Gimp.Item
@delete
attach_parasite
detach_parasite
get_by_id
get_children
get_color_tag
get_expanded
get_id
get_image
get_lock_content
get_lock_position
get_lock_visibility
get_name
get_parasite
get_parasite_list
get_parent
get_tattoo
get_visible
id
id_is_channel
id_is_drawable
id_is_group_layer
id_is_layer
id_is_layer_mask
id_is_link_layer
id_is_path
id_is_selection
id_is_text_layer
id_is_valid
id_is_vector_layer
is_channel
is_drawable
is_group
is_group_layer
is_layer
is_layer_mask
is_link_layer
is_path
is_selection
is_text_layer
is_valid
is_vector_layer
set_color_tag
set_expanded
set_lock_content
set_lock_position
set_lock_visibility
set_name
set_tattoo
set_visible
transform_2d
transform_flip
transform_flip_simple
transform_matrix
transform_perspective
transform_rotate
transform_rotate_simple
transform_scale
transform_shear
transform_translate
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gimp.Rasterizable
is_rasterized
rasterize
restore