Defines the aspect ratio to respect when scaling this object.

The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.

If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.

Since 1.22


  • mode - Mode of interpretation.
  • sz - Base size to use for aspecting.


@property hint_aspect @pure_virtual {
    get {}
    set {}
    values {
        mode: Efl.Gfx.Hint_Aspect;
        sz: Eina.Size2D;

C signature

Implemented by