Table of Contents

Enum LineCap

Namespace
Xui.Core.Canvas
Assembly
Core.dll

Specifies the shape used at the ends of lines when stroking paths. Mirrors the lineCap property in the HTML5 Canvas API.

public enum LineCap

Fields

Butt = 0

The line ends exactly at the endpoint with no additional extension. This is the default.

Round = 1

The line ends with a semicircular extension, centered on the endpoint.

Square = 2

The line ends with a square extension equal to half the line width, extending beyond the endpoint.