Method BarsFor
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
BarsFor(CadSpace, IReadOnlyCollection<string>, CadConstraintSettings)
The bars of a space to draw now: those of every object whose bar is shown for good, of the objects selected where the settings show the bars of the selection, and of the objects a constraint was just made on where they show those; an object hidden has none. The icons are those of the types the settings show.
public IReadOnlyList<CadConstraintBar> BarsFor(CadSpace space, IReadOnlyCollection<string> selected, CadConstraintSettings settings)
Parameters
spaceCadSpaceThe space.
selectedIReadOnlyCollection<string>The handles of the objects selected.
settingsCadConstraintSettingsThe settings.
Returns
- IReadOnlyList<CadConstraintBar>
The bars, in the order of their objects' handles.