StepConnectionBasePaintOneRange Method |
Template to make a line draw.
Namespace: Altaxo.Graph.Gdi.Plot.Styles.LineConnectionStylesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public override void PaintOneRange(
Graphics g,
PointF[] allLinePoints,
IPlotRange range,
IPlotArea layer,
PenCacheGdiGdiPen linePen,
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.
- linePen 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, there is a line connecting the start and the end of the range.
- linePlotStyle LinePlotStyle
- The line plot style.
Implements
ILineConnectionStylePaintOneRange(Graphics, PointF, IPlotRange, IPlotArea, PenCacheGdiGdiPen, FuncInt32, Double, Int32, Boolean, LinePlotStyle)See Also