Description

These values determine how the end of opened sub-paths are rendered in a stroke. ref efl_gfx_shape_stroke_cap_set()

Since 1.14

Fields

  • butt - The end of lines is rendered as a full stop on the last point itself.
  • round - The end of lines is rendered as a half-circle around the last point.
  • square - The end of lines is rendered as a square around the last point.
  • last - Sentinel value to indicate last enum field during iteration

Signature

enum Efl.Gfx.Cap {
    butt: 0,
    round,
    square,
    last
}

C signature

typedef enum {
    EFL_GFX_CAP_BUTT = 0,
    EFL_GFX_CAP_ROUND,
    EFL_GFX_CAP_SQUARE,
    EFL_GFX_CAP_LAST
} Efl_Gfx_Cap;