Styles for rendering the endpoint of a stroked line.
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum CGLineCap
Public Enumeration CGLineCap
public enum class CGLineCap
Members
Member | Description |
---|---|
kCGLineCapButt | A line with a squared-off end. Quartz draws the line to extend only to the exact endpoint of the path. This is the default. Available in Mac OS X v10.0 and later. |
kCGLineCapRound | A line with a rounded end. Quartz draws the line to extend beyond the endpoint of the path. The line ends with a semicircular arc with a radius of 1/2 the line’s width, centered on the endpoint. Available in Mac OS X v10.0 and later. |
kCGLineCapSquare | A line with a squared-off end. Quartz extends the line beyond the endpoint of the path for a distance equal to half the line width. Available in Mac OS X v10.0 and later. |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)