cairoSetLineCap {RGtk2} | R Documentation

## cairoSetLineCap

### Description

Sets the current line cap style within the cairo context. See `CairoLineCap` for details about how the available line cap styles are drawn.

### Usage

    cairoSetLineCap(cr, line.cap)

### Arguments

``cr`` | [`Cairo`] a cairo context
``line.cap`` | [`CairoLineCap`] a line cap style

### Details

As with the other stroke parameters, the current line cap style is examined by `cairoStroke`, `cairoStrokeExtents`, and `cairoStrokeToPath()`, but does not have any effect during path construction.

The default line cap style is `CAIRO_LINE_CAP_BUTT`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]