private hLine AddLine(wLine InputCurve) { hLine crv = new hLine(InputCurve); crv.BuildSVGCurve(); return(crv); }
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); }
public hLine(wLine WindGeometry) { StartX = WindGeometry.Start.X; StartY = WindGeometry.Start.Y; EndX = WindGeometry.End.X; EndY = WindGeometry.End.Y; }
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); }
public wLightLinear(wLine Light_Line) { Line = Light_Line; }
public wLightLinear(wLine Light_Line, wColor Light_Color) { Line = Light_Line; LightColor = Light_Color; }