Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
    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);
    }