The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CustomLineCap Class

Encapsulates a custom user-defined line cap.

For a list of all members of this type, see CustomLineCap Members.


[Visual Basic]
Public Class CustomLineCap
   Inherits MarshalByRefObject
   Implements ICloneable, IDisposable
public class CustomLineCap : MarshalByRefObject, ICloneable,
public __gc class CustomLineCap : public MarshalByRefObject,
   ICloneable, IDisposable
public class CustomLineCap extends MarshalByRefObject implements
   ICloneable, IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Line caps are used at the beginnings and ends of lines or curves drawn by GDI+ Pen objects. GDI+ supports several predefined cap styles, and also allows users to define their own cap styles. This class is used to create custom cap styles.


Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

CustomLineCap Members | System.Drawing.Drawing2D Namespace