Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

© 2015 Microsoft