PathLayer
Object Hierarchy:
Description:
[
CCode ( type_id =
"champlain_path_layer_get_type ()" ) ]
[
Version ( since =
"0.10" ) ]
public class PathLayer :
Layer,
Implementor,
Exportable,
Animatable,
Container,
Scriptable
The PathLayer structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public bool closed { get; set; }
The shape is a closed path
- public bool fill { get; set; }
The shape should be filled
- public Color fill_color { owned get; set; }
The path's fill color
- public bool stroke { get; set; }
The shape should be stroked
- public Color stroke_color { owned get; set; }
The path's stroke color
- public double stroke_width { get; set; }
The path's stroke width (in pixels)
- public bool visible { get; set; }
Wether the path is visible
Creation methods:
Methods:
- public void add_node (Location location)
- public bool get_closed ()
Gets information whether the path is closed.
- public List<uint> get_dash ()
Returns the list of dash segment lengths.
- public bool get_fill ()
Checks whether the path is filled.
- public Color? get_fill_color ()
Gets the path's fill color.
- public List<unowned Location> get_nodes ()
Gets a copy of the list of all
Location objects inserted into the layer.
- public bool get_stroke ()
Checks whether the path is stroked.
- public Color? get_stroke_color ()
Gets the path's stroke color.
- public double get_stroke_width ()
Gets the width of the stroke.
- public bool get_visible ()
Gets path visibility.
- public void insert_node (Location location, uint position)
Inserts a Location
object to the specified position.
- public void remove_all ()
Removes all
Location objects from the layer.
- public void remove_node (Location location)
Removes the
Location object from the layer.
- public void set_closed (bool value)
Makes the path closed.
- public void set_dash (List<uint> dash_pattern)
Sets dashed line pattern in a way similar to
set_dash of cairo.
- public void set_fill (bool value)
Sets the path to be filled
- public void set_fill_color (Color? color)
Set the path's fill color.
- public void set_stroke (bool value)
Sets the path to be stroked
- public void set_stroke_color (Color? color)
Set the path's stroke color.
- public void set_stroke_width (double value)
Sets the width of the stroke
- public void set_visible (bool value)
Sets path visibility.
Inherited Members:
All known members inherited from class Champlain.Layer
All known members inherited from class Clutter.Actor
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 Atk.Implementor
All known members inherited from interface Champlain.Exportable
All known members inherited from interface Clutter.Animatable
- animate_property
- find_property
- get_initial_state
- interpolate_value
All known members inherited from interface Clutter.Container
- @foreach
- actor_added
- actor_removed
- add
- add_actor
- add_valist
- child_get
- child_get_property
- child_notify
- child_set
- child_set_property
- class_find_child_property
- class_list_child_properties
- create_child_meta
- destroy_child_meta
- find_child_by_name
- find_child_property
- foreach_with_internals
- get_child_meta
- get_children
- list_child_properties
- lower_child
- raise_child
- remove
- remove_actor
- remove_valist
- sort_depth_order
All known members inherited from interface Clutter.Scriptable