Exemplo n.º 1
0
        // ========================================
        // field
        // ========================================

        // ========================================
        // constructor
        // ========================================
        public UmlClassFigure()
        {
            Padding = Padding.GetTopChanged(4);

            Layout = new ListLayout()
            {
                Padding = new Insets(
                    0,
                    DefaultHeight,
                    0,
                    0
                    ),
                ItemSpace  = -1,
                ExtendLast = true,
            };
        }
Exemplo n.º 2
0
        // ========================================
        // field
        // ========================================

        // ========================================
        // constructor
        // ========================================
        public UmlInterfaceFigure()
        {
            Padding = Padding.GetTopChanged(4);
            TextHorizontalAlignment = HorizontalAlignment.Center;
            TextVerticalAlignment   = VerticalAlignment.Top;

            Layout = new ListLayout()
            {
                Padding = new Insets(
                    0,
                    DefaultHeight,
                    0,
                    0
                    ),
                ItemSpace  = -1,
                ExtendLast = true,
            };
        }