OCD

public static class OCD
Static utility methods for document layouts.

Methods

AlignObjects

#
public static void AlignObjects(Component a, Component b, Fixed fix = Fixed.None)
Layout two components so the wires connecting the outputs of A and the inputs of B are aligned.
a (Component)
b (Component)
fix (OCD.Fixed = Fixed.None)

AlignObjects

#
public static void AlignObjects(Component a, IParameter b, Fixed fix = Fixed.None)
Layout a parameter and a component so the wires connecting them are aligned.
a (Component)
b (IParameter)
fix (OCD.Fixed = Fixed.None)

AlignObjects

#
public static void AlignObjects(IParameter a, Component b, Fixed fix = Fixed.None)
Layout a parameter and a component so the wires connecting them are aligned.
a (IParameter)
b (Component)
fix (OCD.Fixed = Fixed.None)

AlignObjects

#
public static void AlignObjects(IParameter a, IParameter b, Fixed fix = Fixed.None)
Layout a parameter and a component so the wires connecting them are aligned.
a (IParameter)
b (IParameter)
fix (OCD.Fixed = Fixed.None)