public static TextBinder TextBinder( Point position, string text, [DefaultArgument("null")] Color color) { return(new TextBinder(position.ToTriple(), text, color?.ToSharpDXColor() ?? DynaShapeDisplay.DefaultLineColor)); }
public static LineBinder LineBinder( Point startPoint, Point endPoint, [DefaultArgument("null")] Color color) { return(new LineBinder( startPoint.ToTriple(), endPoint.ToTriple(), color?.ToSharpDXColor() ?? DynaShapeDisplay.DefaultLineColor)); }
public static CircleBinder CircleBinder( Point center, float radius, [DefaultArgument("Vector.ZAxis()")] Vector planeNormal, [DefaultArgument("null")] Color color) { return(new CircleBinder( center.ToTriple(), radius, planeNormal.ToTriple(), color?.ToSharpDXColor() ?? DynaShapeDisplay.DefaultLineColor)); }
public static LineBinder LineBinder( Point startPoint, Point endPoint, [DefaultArgument("null")] Color color) => new LineBinder(startPoint.ToTriple(), endPoint.ToTriple(), color?.ToSystemColor() ?? GeometryRender.DefaultLineColor);