Ejemplo n.º 1
0
        private void setOptionsVisibility(ShapePropertyType type)
        {
            switch (type)
            {
            case ShapePropertyType.NotDrawable:
                setAntiVty(false);
                setStrokableVty(false);
                setFillOptionVty(false);
                setRoundedVty(false);
                setIndicatorVty(false);
                break;

            case ShapePropertyType.StrokableProperty:
                setAntiVty(true);
                setStrokableVty(true);
                setFillOptionVty(false);
                setRoundedVty(false);
                setIndicatorVty(false);
                break;

            case ShapePropertyType.FillableProperty:
                setAntiVty(true);
                setStrokableVty(true);
                setFillOptionVty(true);
                setRoundedVty(false);
                setIndicatorVty(false);
                break;

            case ShapePropertyType.RoundedRectProperty:
                setAntiVty(true);
                setStrokableVty(true);
                setFillOptionVty(true);
                setRoundedVty(true);
                setIndicatorVty(false);
                break;

            case ShapePropertyType.IndicatorArrowProperty:
                setAntiVty(true);
                setStrokableVty(false);
                setFillOptionVty(false);
                setRoundedVty(false);
                setIndicatorVty(true);
                break;
            }
        }
Ejemplo n.º 2
0
 private void setOptionsVisibility(ShapePropertyType type)
 {
 }