LineConnectionStyleBase.PaintOneRange Method |
Template to make a line draw.
Namespace: Altaxo.Graph.Gdi.Plot.Styles.LineConnectionStylesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic abstract void PaintOneRange(
Graphics g,
PointF[] allLinePoints,
IPlotRange range,
IPlotArea layer,
PenCacheGdi.GdiPen 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 PenCacheGdi.GdiPen
- The pen to draw the line.
- symbolGap Func<Int32, 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
ILineConnectionStyle.PaintOneRange(Graphics, PointF[], IPlotRange, IPlotArea, PenCacheGdi.GdiPen, Func<Int32, Double>, Int32, Boolean, LinePlotStyle)
See Also