Ejemplo n.º 1
0
 public Origin(Point point, OriginUnit unit)
 {
     this.point = point;
     this.unit  = unit;
 }
Ejemplo n.º 2
0
 public Origin(Point point, OriginUnit unit)
 {
     this.point = point;
     this.unit = unit;
 }
Ejemplo n.º 3
0
 public Origin(double x, double y, OriginUnit unit)
     : this(new Point(x, y), unit)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Origin"/> struct.
 /// </summary>
 /// <param name="point">The origin point.</param>
 /// <param name="unit">The origin unit.</param>
 public Origin(Point point, OriginUnit unit)
 {
     _point = point;
     _unit = unit;
 }
Ejemplo n.º 5
0
 public Origin(double x, double y, OriginUnit unit)
     : this(new Point(x, y), unit)
 {
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="position">The position of the rectangle.</param>
 /// <param name="size">The size of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Point position, Size size, OriginUnit unit)
 {
     Rect = new Rect(position, size);
     Unit = unit;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="topLeft">The top left position of the rectangle.</param>
 /// <param name="bottomRight">The bottom right position of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Point topLeft, Point bottomRight, OriginUnit unit)
 {
     Rect = new Rect(topLeft, bottomRight);
     Unit = unit;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="rect">The rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Rect rect, OriginUnit unit)
 {
     Rect = rect;
     Unit = unit;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="size">The size of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Size size, OriginUnit unit)
 {
     Rect = new Rect(size);
     Unit = unit;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Origin"/> struct.
 /// </summary>
 /// <param name="point">The origin point.</param>
 /// <param name="unit">The origin unit.</param>
 public Origin(Point point, OriginUnit unit)
 {
     _point = point;
     _unit  = unit;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="x">The X position.</param>
 /// <param name="y">The Y position.</param>
 /// <param name="width">The width.</param>
 /// <param name="height">The height.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(double x, double y, double width, double height, OriginUnit unit)
 {
     Rect = new Rect(x, y, width, height);
     Unit = unit;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="topLeft">The top left position of the rectangle.</param>
 /// <param name="bottomRight">The bottom right position of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Point topLeft, Point bottomRight, OriginUnit unit)
 {
     Rect = new Rect(topLeft, bottomRight);
     Unit = unit;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="position">The position of the rectangle.</param>
 /// <param name="size">The size of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Point position, Size size, OriginUnit unit)
 {
     Rect = new Rect(position, size);
     Unit = unit;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="size">The size of the rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Size size, OriginUnit unit)
 {
     Rect = new Rect(size);
     Unit = unit;
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="rect">The rectangle.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(Rect rect, OriginUnit unit)
 {
     Rect = rect;
     Unit = unit;
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelativeRect"/> structure.
 /// </summary>
 /// <param name="x">The X position.</param>
 /// <param name="y">The Y position.</param>
 /// <param name="width">The width.</param>
 /// <param name="height">The height.</param>
 /// <param name="unit">The unit of the rect.</param>
 public RelativeRect(double x, double y, double width, double height, OriginUnit unit)
 {
     Rect = new Rect(x, y, width, height);
     Unit = unit;
 }