/// <summary>
 /// Converts the Circle structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Circle.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Location", Location.ToString(),
                "Radius", Radius.ToString()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                Start.GetHashCode(),
                End.GetHashCode()));
 }
示例#3
0
 /// <summary>
 /// Converts this SolidBrush to a human-readable string.
 /// </summary>
 /// <returns>The string representation of this SolidBrush.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Brush", "SolidBrush",
                "Color", Color.ToString()));
 }
示例#4
0
 /// <summary>
 /// Converts this Scene to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Scene.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Scene", GetHashCode().ToString(),
                "Device", Device.ToString()));
 }
示例#5
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                IsOpen.GetHashCode(),
                _geometry.NativePointer.GetHashCode()));
 }
示例#6
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                _brush.NativePointer.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                Location.GetHashCode(),
                Radius.GetHashCode()));
 }
 /// <summary>
 /// Converts the Point structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Point.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "X", X.ToString(),
                "Y", Y.ToString()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                X.GetHashCode(),
                Y.GetHashCode()));
 }
 /// <summary>
 /// Converts the Line structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Line.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Start", Start.ToString(),
                "End", End.ToString()));
 }
示例#11
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer hash code.</returns>
 public override int GetHashCode()
 {
     return(OverrideHelper.HashCodes(
                IsInitialized.GetHashCode(),
                Handle.GetHashCode()));
 }