Пример #1
0
        public RealizationRelationship(Color lineColor, float lineWidth)
        {
            FilledArrowCap filledArrowCap = new FilledArrowCap();
            DashLine       dashLine       = new DashLine();

            cap            = filledArrowCap;
            lineStyle      = dashLine.lineStyle;
            ObjectPenColor = lineColor;
            ObjectPenWidth = lineWidth;
        }
Пример #2
0
        public InheritanceRelationship(Color lineColor, float lineWidth)
        {
            FilledArrowCap filledArrowCap = new FilledArrowCap();
            SolidLine      solidLine      = new SolidLine();

            cap            = filledArrowCap;
            lineStyle      = solidLine.lineStyle;
            ObjectPenColor = lineColor;
            ObjectPenWidth = lineWidth;
        }