예제 #1
0
        public static ulong BuildHorToRightSolidLine(LJJSPoint pStart, double lineWidth, double penWidth, int pColor, string pToolTip)
        {
            gPoint pEnd   = new gPoint(pStart.XValue + lineWidth, pStart.YValue);
            gPoint pstart = new gPoint(pStart.XValue, pStart.YValue);

            return(VectorDrawHelper.CommonLine(DrawCommonData.activeDocument, pstart, pEnd, penWidth, pColor, DrawCommonData.SolidLineTypeName, pToolTip));
        }
예제 #2
0
        public static ulong BuildCommonSoldLine(LJJSPoint ptStart, LJJSPoint ptEnd, int lineColor, double penWidth)
        {
            gPoint pStart = FigureStrucConvert.ConvertLJJSPointToGPoint(ptStart);
            gPoint pEnd   = FigureStrucConvert.ConvertLJJSPointToGPoint(ptEnd);

            return(VectorDrawHelper.CommonLine(DrawCommonData.activeDocument, pStart, pEnd, penWidth, lineColor, DrawCommonData.SolidLineTypeName, ""));
        }
예제 #3
0
        public static ulong BuildToRightHorLine(LJJSPoint ptStart, double lineLen, double penWidth, int lineColor, string lineTypeName, string pToolTip)
        {
            gPoint ptend = new gPoint(ptStart.XValue + lineLen, ptStart.YValue);

            return(VectorDrawHelper.CommonLine(DrawCommonData.activeDocument, FigureStrucConvert.ConvertLJJSPointToGPoint(ptStart), ptend, penWidth, lineColor, lineTypeName, pToolTip));
        }
예제 #4
0
        public static ulong BuildHorToRightBlackSolidLine(LJJSPoint pStart, double lineWidth, double penWidth, string pToolTip)
        {
            gPoint pEnd = new gPoint(pStart.XValue + lineWidth, pStart.YValue);

            return(VectorDrawHelper.CommonLine(DrawCommonData.activeDocument, FigureStrucConvert.ConvertLJJSPointToGPoint(pStart), pEnd, penWidth, DrawCommonData.BlackColorRGB, DrawCommonData.SolidLineTypeName, pToolTip));
        }