Exemple #1
0
        private hLine AddLine(wLine InputCurve)
        {
            hLine crv = new hLine(InputCurve);

            crv.BuildSVGCurve();
            return(crv);
        }
Exemple #2
0
        public wLightLinear(double Light_Intensity, wLine Light_Line, wColor Light_Color)
        {
            Line = Light_Line;

            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);
        }
Exemple #3
0
 public hLine(wLine WindGeometry)
 {
     StartX = WindGeometry.Start.X;
     StartY = WindGeometry.Start.Y;
     EndX   = WindGeometry.End.X;
     EndY   = WindGeometry.End.Y;
 }
Exemple #4
0
        public Path WpfLine(wCurve Shp, wGraphic Graphics, wEffects ShapeEffects)
        {
            Path         X = new Path();
            wLine        C = (wLine)Shp;
            LineGeometry L = new LineGeometry();

            L.StartPoint = new System.Windows.Point(C.Start.X * Scale, C.Start.Y * Scale);
            L.EndPoint   = new System.Windows.Point(C.End.X * Scale, C.End.Y * Scale);

            X.Data = L;

            X.RenderTransform = Xform;

            X = SetPathEffects(X, ShapeEffects);
            X = SetPathStroke(X, Graphics);

            group.Shapes.Add(new wShape(L, Graphics));
            return(X);
        }
Exemple #5
0
 public wLightLinear(wLine Light_Line)
 {
     Line = Light_Line;
 }
Exemple #6
0
        public wLightLinear(wLine Light_Line, wColor Light_Color)
        {
            Line = Light_Line;

            LightColor = Light_Color;
        }