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)
ParameterTypeDescription
fillPathGraphicsPathA GraphicsPath object that defines the fill for the custom cap.
strokePathGraphicsPathA 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)
ParameterTypeDescription
fillPathGraphicsPathA GraphicsPath object that defines the fill for the custom cap.
strokePathGraphicsPathA GraphicsPath object that defines the outline of the custom cap.
baseCapLineCapThe 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)
ParameterTypeDescription
fillPathGraphicsPathA GraphicsPath object that defines the fill for the custom cap.
strokePathGraphicsPathA GraphicsPath object that defines the outline of the custom cap.
baseCapLineCapThe line cap from which to create the custom cap.
baseInsetSingleThe distance between the cap and the line.

See Also