Click or drag to resize

WpfAnnotationRenderingEngineTRenderLineCap Method

This method is called to render the a single line cap.

Namespace:  Atalasoft.Annotate.Wpf.Renderer
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected virtual void RenderLineCap(
	Point startingPoint,
	Point endingPoint,
	AnnotationLineCap lineCap,
	AnnotationBrush fill,
	AnnotationPen pen,
	WpfRenderEnvironment environment
)

Parameters

startingPoint
Type: System.WindowsPoint
The starting point of the line.
endingPoint
Type: System.WindowsPoint
The ending point of the line.
lineCap
Type: Atalasoft.AnnotateAnnotationLineCap
The line cap for the end point.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The brush used to fill the line cap.
pen
Type: Atalasoft.AnnotateAnnotationPen
The pen used to draw the line cap
environment
Type: Atalasoft.Annotate.Wpf.RendererWpfRenderEnvironment
A render environment used to draw the line cap.
See Also