Ejemplo n.º 1
0
 /// <summary>
 /// Gets a <see cref="PointF"/> representation of this object.
 /// </summary>
 public readonly PointF ToPointF()
 {
     return(UnsafeR.As <SizeF, PointF>(this));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a <see cref="Vector2"/> representation of this object.
 /// </summary>
 public readonly Vector2 ToVector2()
 {
     return(UnsafeR.As <SizeF, Vector2>(this));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets a <see cref="Size"/> representation of this object.
 /// </summary>
 public readonly Size ToSize()
 {
     return(UnsafeR.As <Point, Size>(this));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Gets a <see cref="SizeF"/> representation of this object.
 /// </summary>
 public readonly SizeF ToSizeF()
 {
     return(UnsafeR.As <PointF, SizeF>(this));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Gets a <see cref="Point"/> representation for this object.
 /// </summary>
 public readonly Point ToPoint()
 {
     return(UnsafeR.As <Size, Point>(this));
 }