Efl.VG.Shape (class)

Description

Efl vector graphics shape class

Inheritance

Efl.VG (class)Efl.Object (class)

Full hierarchy

Members

bounds_get [Overridden from Efl.VG]

Give the bounding box in screen coordinates as being drawn.
void efl_vg_bounds_get(Eo *obj, Eina_Rect *r);


constructor [Overridden from Efl.Object]

Call the object's constructor.
Efl_Object *efl_constructor(Eo *obj);


destructor [Overridden from Efl.Object]

Call the object's destructor.
void efl_destructor(Eo *obj);


duplicate [Overridden from Efl.Duplicate]

Creates a carbon copy of this object and returns it.
Efl_Duplicate *efl_duplicate(const Eo *obj);


fill (get, set)

Fill of the shape object
Efl_VG *efl_vg_shape_fill_get(const Eo *obj);
void efl_vg_shape_fill_set(Eo *obj, Efl_VG *f);


interpolate [Overridden from Efl.VG]

Interpolate a given vector graphics object
Eina_Bool efl_vg_interpolate(Eo *obj, const Efl_VG *from, const Efl_VG *to, double pos_map);


stroke_fill (get, set)

Stroke fill of the shape object
Efl_VG *efl_vg_shape_stroke_fill_get(const Eo *obj);
void efl_vg_shape_stroke_fill_set(Eo *obj, Efl_VG *f);


stroke_marker (get, set)

Stroke marker of the shape object
Efl_VG *efl_vg_shape_stroke_marker_get(const Eo *obj);
void efl_vg_shape_stroke_marker_set(Eo *obj, Efl_VG *m);


Inherited

Efl.Gfx
scale (get, set) The scaling factor of an object.
Efl.Gfx.Color
color_class_code (get, set)
color_code (get, set)
Efl.Gfx.Path
append_arc Append an arc that enclosed in the given rectangle (x, y, w, h). The angle is defined in counter clock wise , use -ve angle for clockwise arc.
append_arc_to Append an arc that connects from the current point int the point list to the given point (x,y). The arc is defined by the given radius in x-direction (rx) and radius in y direction (ry).
append_circle Append a circle with given center and radius.
append_close Closes the current subpath by drawing a line to the beginning of the subpath, automatically starting a new path. The current point of the new path is (0, 0).
append_cubic_to Adds a cubic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x0, ctrl_y0), and (ctrl_x1, ctrl_y1). After the path is drawn, the current position is updated to be at the end point of the path.
append_line_to Adds a straight line from the current position to the given end point. After the line is drawn, the current position is updated to be at the end point of the line.
append_move_to Moves the current point to the given point, implicitly starting a new subpath and closing the previous one.
append_quadratic_to Adds a quadratic Bezier curve between the current position and the given end point (x,y) using the control points specified by (ctrl_x, ctrl_y). After the path is drawn, the current position is updated to be at the end point of the path.
append_rect Append the given rectangle with rounded corner to the path.
append_scubic_to Same as efl_gfx_path_append_cubic_to() api only difference is that it uses the current control point to draw the bezier.
append_squadratic_to Same as efl_gfx_path_append_quadratic_to() api only difference is that it uses the current control point to draw the bezier.
append_svg_path Append SVG path data
bounds_get Compute and return the bounding box of the currently set path
current (get) Current point coordinates
current_ctrl (get) Current control point coordinates
equal_commands Equal commands in object
length (get) Path length property
path (get, set) Set the list of commands and points to be used to create the content of shape.
reset Reset the shape data of the shape object.
Efl.Gfx.Shape
copy_from Copy the shape data from the object specified.
fill_rule (get, set) The fill rule of the given shape object. EFL_GFX_FILL_RULE_WINDING, or EFL_GFX_FILL_RULE_ODD_EVEN.
interpolate Creates intermediary path part-way between two paths
stroke_cap (get, set) The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
stroke_color (get, set) The color to be used for stroking the path.
stroke_dash (get, set) Not implemented
stroke_join (get, set) The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.
stroke_location (get, set) Not implemented
stroke_scale (get, set) The stroke scale to be used for stroking the path. Will be used along with stroke width property.
stroke_width (get, set) The stroke width to be used for stroking the path.
Efl.Gfx.Stack
layer (get, set)
Efl.Object
allow_parent_unref (get, set) Allow an object to be deleted by unref even if it has a parent.
children_iterator_new Get an iterator on all childrens
comment (get, set) A human readable comment for the object
composite_attach Make an object a composite object of another.
composite_detach Detach a composite object from another object.
composite_part_is Check if an object is part of a composite object.
debug_name_override Build a read-only name for this object used for debugging.
del Unrefs the object and reparents it to NULL.
event_callback_forwarder_add Add an event callback forwarder for an event and an object.
event_callback_forwarder_del Remove an event callback forwarder for an event and an object.
event_callback_stop Stop the current callback call.
event_freeze Freeze events of object.
event_freeze_count (get) Return freeze events of object.
class event_global_freeze Freeze events of object.
class event_global_freeze_count (get) Return freeze events of object.
class event_global_thaw Thaw events of object.
event_thaw Thaw events of object.
finalize Called at the end of efl_add. Should not be called, just overridden.
finalized (get) True if the object is already finalized, otherwise false.
name (get, set) The name of the object.
name_find Find a child object with the given name and return it.
provider_find Searches upwards in the object tree for a provider which knows the given class/interface.
Efl.VG
above (get) Get the Evas object stacked right above obj
below (get) Get the Evas object stacked right below obj
color (get, set)
geometry (get, set) Rectangular geometry that combines both position and size.
lower Lower obj to the bottom of its layer.
mask (get, set) Vector graphics object mask
name (get, set)
origin (get, set)
parent (get, set) The parent of an object.
position (get, set) The 2D position of a canvas object.
raise Raise obj to the top of its layer.
size (get, set) The 2D size of a canvas object.
stack_above Stack obj immediately above
stack_below Stack obj immediately below
transformation (get, set)
visible (get, set) The visibility of a canvas object.

Events

Inherited

Efl.Gfx
hide Object just became invisible.
move Object was moved, its position during the event is the new one.
resize Object was resized, its size during the event is the new one.
show Object just became visible.
Efl.Gfx.Path
changed Graphics path was changed.
Efl.Gfx.Stack
restack Object stacking was changed.
Efl.Object
callback,add A callback was added.
callback,del A callback was deleted.
del Object is being deleted.
destruct Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any dangling pointer.