StraightConnectionPaint Method |
Template to make a line draw.
Namespace: Altaxo.Graph.Graph3D.Plot.Styles.LineConnectionStylesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public override void Paint(
IGraphicsContext3D g,
Processed3DPlotData pdata,
PlotRange range,
IPlotArea layer,
PenX3D pen,
Func<int, double>? symbolGap,
int skipFrequency,
bool connectCircular
)
Parameters
- g IGraphicsContext3D
- Graphics context.
- pdata Processed3DPlotData
- The plot data. Don't use the Range property of the pdata, since it is overriden by the next argument.
- range PlotRange
- The plot range to use.
- layer IPlotArea
- Graphics layer.
- pen PenX3D
- 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 end of the line is connected with the start of the line.
Implements
ILineConnectionStylePaint(IGraphicsContext3D, Processed3DPlotData, PlotRange, IPlotArea, PenX3D, FuncInt32, Double, Int32, Boolean)See Also