Description

Specifies how to tile an image to fill its rectangle geometry.

Note that if w or h are smaller than the dimensions of the object, the displayed image will be tiled around the object's area. To have only one copy of the bound image drawn, x and y must be 0 and w and h need to be the exact width and height of the image object itself, respectively.

Setting this property will reset the Efl.Gfx.Fill.fill_auto to false.

Values

  • fill - The top-left corner to start drawing from as well as the size at which the bound image will be displayed.

Signature

@property fill @pure_virtual {
    get {
        values {
            fill: free(Eina.Rect, eina_rectangle_free);
        }
    }
    set {
        values {
            fill: free(Eina.Rect, eina_rectangle_free);
        }
    }
}

C signature

Eina_Rect efl_gfx_fill_get(const Eo *obj);
void efl_gfx_fill_set(Eo *obj, Eina_Rect fill);

Implemented by

  • Efl.Gfx.Fill.fill