public State(Project project, Display display, int diameter) { int dynaDiamO, dynaDiamI, statDiamO, statDiamI; Init(diameter, out dynaDiamO, out dynaDiamI, out statDiamO, out statDiamI); dynamicProperties = new StatePropertyCollection(project, display, dynaDiamO, dynaDiamI); staticProperties = new StatePropertyCollection(project, dynamicProperties.circleOuter, statDiamO, statDiamI); }
public State(Project project, ShapeBase parent, int diameter) { int dynaDiamO, dynaDiamI, statDiamO, statDiamI; Init(diameter, out dynaDiamO, out dynaDiamI, out statDiamO, out statDiamI); dynamicProperties = new StatePropertyCollection(project, parent, dynaDiamO, dynaDiamI); staticProperties = new StatePropertyCollection(project, dynamicProperties.circleOuter, statDiamO, statDiamI); }