Table of Contents

Enum LineCap

Namespace
SixLabors.ImageSharp.Drawing
Assembly
SixLabors.ImageSharp.Drawing.dll

Specifies the shape to be used at the ends of open lines or paths when stroking.

public enum LineCap

Fields

Butt = 0

The stroke ends exactly at the endpoint. No extension is added beyond the path's end coordinates.

Round = 2

The stroke ends with a semicircular cap, extending beyond the endpoint by half the line width.

Square = 1

The stroke extends beyond the endpoint by half the line width, producing a square edge.