CustomLineCap

CustomLineCap constructor (1 of 3)

Initializes a new instance of the CustomLineCap class with the specified outline and fill.

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)
Parameter Type Description
fillPath GraphicsPath A GraphicsPath object that defines the fill for the custom cap.
strokePath GraphicsPath A GraphicsPath object that defines the outline of the custom cap.

See Also


CustomLineCap constructor (2 of 3)

Initializes a new instance of the CustomLineCap class from the specified existing LineCap enumeration with the specified outline and fill.

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap)
Parameter Type Description
fillPath GraphicsPath A GraphicsPath object that defines the fill for the custom cap.
strokePath GraphicsPath A GraphicsPath object that defines the outline of the custom cap.
baseCap LineCap The line cap from which to create the custom cap.

See Also


CustomLineCap constructor (3 of 3)

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

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, 
    float baseInset)
Parameter Type Description
fillPath GraphicsPath A GraphicsPath object that defines the fill for the custom cap.
strokePath GraphicsPath A GraphicsPath object that defines the outline of the custom cap.
baseCap LineCap The line cap from which to create the custom cap.
baseInset Single The distance between the cap and the line.

See Also