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