Efl.Gfx.Entity (interface)

Description

Efl graphics interface

Since 1.22

Members

geometry (get, set)

Rectangular geometry that combines both position and size.
Eina_Rect efl_gfx_entity_geometry_get(const Eo *obj);
void efl_gfx_entity_geometry_set(Eo *obj, Eina_Rect rect);


position (get, set)

The 2D position of a canvas object.
Eina_Position2D efl_gfx_entity_position_get(const Eo *obj);
void efl_gfx_entity_position_set(Eo *obj, Eina_Position2D pos);


scale (get, set)

The scaling factor of an object.
double efl_gfx_entity_scale_get(const Eo *obj);
void efl_gfx_entity_scale_set(Eo *obj, double scale);


size (get, set)

The 2D size of a canvas object.
Eina_Size2D efl_gfx_entity_size_get(const Eo *obj);
void efl_gfx_entity_size_set(Eo *obj, Eina_Size2D size);


visible (get, set)

The visibility of a canvas object.
Eina_Bool efl_gfx_entity_visible_get(const Eo *obj);
void efl_gfx_entity_visible_set(Eo *obj, Eina_Bool v);


Events

position,changed

Object was moved, its position during the event is the new one.
EFL_GFX_ENTITY_EVENT_POSITION_CHANGED(Eina_Position2D)


size,changed

Object was resized, its size during the event is the new one.
EFL_GFX_ENTITY_EVENT_SIZE_CHANGED(Eina_Size2D)


visibility,changed

Object's visibility state changed, the event value is the new state.
EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED(Eina_Bool)