Click or drag to resize

LineConnectionStyleBasePaintOneRange Method

Template to make a line draw.

Namespace: Altaxo.Graph.Gdi.Plot.Styles.LineConnectionStyles
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract void PaintOneRange(
	Graphics g,
	PointF[] allLinePoints,
	IPlotRange range,
	IPlotArea layer,
	PenCacheGdiGdiPen pen,
	Func<int, double>? symbolGap,
	int skipFrequency,
	bool connectCircular,
	LinePlotStyle linePlotStyle
)

Parameters

g  Graphics
Graphics context.
allLinePoints  PointF
The plot data. Don't use the Range property of the pdata, since it is overriden by the next argument.
range  IPlotRange
The plot range to use.
layer  IPlotArea
Graphics layer.
pen  PenCacheGdiGdiPen
The pen to draw the line.
symbolGap  FuncInt32, Double
The size of the symbol gap. Argument is the original index of the data. The return value is the absolute symbol gap at this index. This function is null if no symbol gap is required.
skipFrequency  Int32
Skip frequency. Normally 1, thus all gaps are taken into account. If 2, only every 2nd gap is taken into account, and so on.
connectCircular  Boolean
If true, the line is connected circular, and the area is the polygon inside of that circular connection.
linePlotStyle  LinePlotStyle
The line plot style.

Implements

ILineConnectionStylePaintOneRange(Graphics, PointF, IPlotRange, IPlotArea, PenCacheGdiGdiPen, FuncInt32, Double, Int32, Boolean, LinePlotStyle)
See Also