line cap and dimensions bindings