~~Title: Efl.Gfx.Entity~~ ====== Efl.Gfx.Entity (interface) ====== ===== Description ===== %%Efl graphics interface%% //Since 1.22// {{page>:develop:api-include:efl:gfx:entity:description&nouser&nolink&nodate}} ===== Members ===== **[[:develop:api:efl:gfx:entity:property:geometry|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); \\ **[[:develop:api:efl:gfx:entity:property:position|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); \\ **[[:develop:api:efl:gfx:entity:property:scale|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); \\ **[[:develop:api:efl:gfx:entity:property:size|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); \\ **[[:develop:api:efl:gfx:entity:property:visible|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 ===== **[[:develop:api:efl:gfx:entity:event:position_changed|position,changed]]**\\ > %%Object was moved, its position during the event is the new one.%% EFL_GFX_ENTITY_EVENT_POSITION_CHANGED(Eina_Position2D) \\ **[[:develop:api:efl:gfx:entity:event:size_changed|size,changed]]**\\ > %%Object was resized, its size during the event is the new one.%% EFL_GFX_ENTITY_EVENT_SIZE_CHANGED(Eina_Size2D) \\ **[[:develop:api:efl:gfx:entity:event:visibility_changed|visibility,changed]]**\\ > %%Object's visibility state changed, the event value is the new state.%% EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED(Eina_Bool) \\