Class CustomLineCap

CustomLineCap class

Encapsulates a custom user-defined line cap.

public class CustomLineCap

Constructors

NameDescription
CustomLineCap(GraphicsPath, GraphicsPath)Initializes a new instance of the CustomLineCap class with the specified outline and fill.
CustomLineCap(GraphicsPath, GraphicsPath, LineCap)Initializes a new instance of the CustomLineCap class from the specified existing LineCap enumeration with the specified outline and fill.
CustomLineCap(GraphicsPath, GraphicsPath, LineCap, float)Initializes a new instance of the CustomLineCap class from the specified existing LineCap enumeration with the specified outline, fill, and inset.

Properties

NameDescription
BaseCap { get; set; }Gets or sets the LineCap enumeration on which this CustomLineCap is based.
BaseInset { get; set; }Gets or sets the distance between the cap and the line.
FillPath { get; set; }Gets or sets the object that defines the fill for the custom cap.
StrokeJoin { get; set; }Gets or sets the LineJoin enumeration that determines how lines that compose this CustomLineCap object are joined.
StrokePath { get; set; }Gets or sets the object that defines the outline of the custom cap.
WidthScale { get; set; }Gets or sets the amount by which to scale this CustomLineCap Class object with respect to the width of the Pen object.

Methods

NameDescription
override Equals(object)Check if objects are equal.
override GetHashCode()Get hash code of the current object.
GetStrokeCaps(out LineCap, out LineCap)Gets the caps used to start and end lines that make up this custom cap.
SetStrokeCaps(LineCap, LineCap)Sets the caps used to start and end lines that make up this custom cap.

See Also