/// <summary>
 /// Converts this Triangle structure to a human-readable string.
 /// </summary>
 /// <returns>The string representation of this Triangle.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "A", A.ToString(),
                "B", B.ToString(),
                "C", C.ToString()));
 }
 /// <summary>
 /// Converts the Ellipse structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Ellipse.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Location", Location.ToString(),
                "RadiusX", RadiusX.ToString(),
                "RadiusY", RadiusY.ToString()));
 }
 /// <summary>
 /// Converts this RoundedRectangle structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this RoundedRectangle</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Rectangle", Rectangle.ToString(),
                "RadiusX", RadiusX.ToString(),
                "RadiusY", RadiusY.ToString()));
 }
 /// <summary>
 /// Converts this Rectangle structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Rectangle.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Left", Left.ToString(),
                "Top", Top.ToString(),
                "Right", Right.ToString(),
                "Bottom", Bottom.ToString()));
 }
Пример #5
0
 /// <summary>
 /// Converts this Image instance to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Image.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Image", "Bitmap",
                "Width", Width.ToString(),
                "Height", Height.ToString(),
                "PixelFormat", Bitmap.PixelFormat.Format.ToString()));
 }
Пример #6
0
 /// <summary>
 /// Converts this Color structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Color.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "R", R.ToString(),
                "G", G.ToString(),
                "B", B.ToString(),
                "A", A.ToString()));
 }
Пример #7
0
 /// <summary>
 /// Converts this Geometry instance to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Geometry.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Geometry", "PathGeometry",
                "FigureCount", _geometry.FigureCount.ToString(),
                "SegmentCount", _geometry.SegmentCount.ToString(),
                "IsOpen", IsOpen.ToString()));
 }
Пример #8
0
 /// <summary>
 /// Converts this LinearGradientBrush instance to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this LinearGradientBrush.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Brush", "LinearGradientBrush",
                "Start", Start.ToString(),
                "End", End.ToString(),
                "Colors", _brush.GradientStopCollection.ToString()));
 }
Пример #9
0
 /// <summary>
 /// Converts this Font instance to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Font.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "FontFamilyName", FontFamilyName,
                "FontSize", FontSize.ToString(),
                "Italic", Italic.ToString(),
                "Bold", Bold.ToString(),
                "WordWrapping", WordWeapping.ToString()));
 }
Пример #10
0
 /// <summary>
 /// Converts this OverlayWindow structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this OverlayWindow.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Handle", Handle.ToString("X"),
                "IsInitialized", IsInitialized.ToString(),
                "IsVisible", IsVisible.ToString(),
                "IsTopmost", IsTopmost.ToString(),
                "X", X.ToString(),
                "Y", Y.ToString(),
                "Width", Width.ToString(),
                "Height", Height.ToString()));
 }
 /// <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>
 /// 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()));
 }
Пример #13
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()));
 }
Пример #14
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()));
 }