示例#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));
 }