Efl.Gfx.Entity.scale

Description

The scaling factor of an object.

This property is an individual scaling factor on the object (Edje or UI widget). This property (or Edje's global scaling factor, when applicable), will affect this object's part sizes. If scale is not zero, then the individual scaling will override any global scaling set, for the object obj's parts. Set it back to zero to get the effects of the global scaling again.

In Edje, only parts which, at EDC level, had the "scale" property set to 1, will be affected by this function. Check the complete "syntax reference" for EDC files.

Since 1.22

Values

  • scale - The scaling factor.

Getter

Gets an object's scaling factor.

Since 1.22

Setter

Sets the scaling factor of an object.

Since 1.22

Signature

@property scale @pure_virtual {
    get {}
    set {}
    values {
        scale: double (0.000000);
    }
}

C signature

double efl_gfx_entity_scale_get(const Eo *obj);
void efl_gfx_entity_scale_set(Eo *obj, double scale);

Implemented by