public static AxisAlignedRectangle FromLTRB(double left, double top, double right, double bottom)
 {
     return(new AxisAlignedRectangle(Point.From(left, bottom), Point.From(left, top), Point.From(right, top), Point.From(right, bottom)));
 }
Exemple #2
0
 public Point PointByY(double y)
 {
     return(Point.From(OffsetX, y));
 }
Exemple #3
0
 public static Line CreateVertical(double offsetX)
 {
     return(new Line(null, Point.From(offsetX, 0)));
 }
Exemple #4
0
 public Point PointByX(double x)
 {
     return(Point.From(x, YByX(x)));
 }
Exemple #5
0
 public static Line CreateHorizontal(double offsetY)
 {
     return(new Line(0.0, Point.From(0, offsetY)));
 }