X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.Content.MediaContent%2FTizen.Content.MediaContent%2FRectangle.cs;h=822a68929c6ef329b16ee5a7cd4fb6bf0f3767f2;hb=467ee05815e0fc896b69a3f616169da0535bc755;hp=29d437b0f49e001eeb28c50b7b8213d2436fdea7;hpb=53788ecb158a47a88cfda571b13b0da4a4f3a311;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Rectangle.cs b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Rectangle.cs index 29d437b..822a689 100644 --- a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Rectangle.cs +++ b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/Rectangle.cs @@ -19,18 +19,18 @@ using System; namespace Tizen.Content.MediaContent { /// - /// Represents location of the object bounded by rectangle defined by - /// coordinates of top left corner, width and height. + /// Represents the location of the object bounded by the rectangle defined by + /// coordinates of top left corner, width, and height. /// public struct Rectangle { /// - /// Initializes a new instance of the Rectangle with the specified values. + /// Initializes a new instance of the rectangle with the specified values. /// /// The x-coordinate of the upper-left corner of the rectangle. /// The y-coordinate of the upper-left corner of the rectangle. - /// The Width of the rectangle. - /// The Height of the rectangle. + /// The width of the rectangle. + /// The height of the rectangle. public Rectangle(int x, int y, int width, int height) { X = x; @@ -95,36 +95,36 @@ namespace Tizen.Content.MediaContent $"X={X.ToString()}, Y={Y.ToString()}, Width={Width.ToString()}, Height={Height.ToString()}"; /// - /// Returns the hash code for this Rectangle structure. + /// Returns the hash code for this rectangle structure. /// /// An integer that represents the hash code for this rectangle. public override int GetHashCode() => new { X, Y, Width, Height }.GetHashCode(); /// - /// Tests whether obj is a Rectangle structure with the same location and size of this Rectangle structure. + /// Tests whether object is a rectangle structure with the same location and size of this rectangle structure. /// - /// A to compare. + /// The to compare. /// - /// true if obj is a Rectangle structure and its X, Y, Width and Height properties are - /// equal to the corresponding properties of this Rectangle structure; otherwise, false. + /// true if object is a rectangle structure and its x, y, width, and height properties are + /// equal to the corresponding properties of this rectangle structure; otherwise, false. /// public override bool Equals(object obj) => obj is Rectangle && this == (Rectangle)obj; /// - /// Tests whether two Rectangle structures have equal location and size. + /// Tests whether two rectangle structures have equal location and size. /// - /// A to compare. - /// A to compare. - /// true if the two Rectangle structures have equal X, Y, Width, and Height properties; otherwise, false. + /// The to compare. + /// The to compare. + /// true if the two rectangle structures have equal x, y, width, and height properties; otherwise, false. public static bool operator ==(Rectangle rect1, Rectangle rect2) => rect1.X == rect2.X && rect1.Y == rect2.Y && rect1.Width == rect2.Width && rect1.Height == rect2.Height; /// - /// Tests whether two Rectangle structures differ in location or size. + /// Tests whether two rectangle structures differ in location or size. /// - /// A to compare. - /// A to compare. - /// true if any of the X, Y, Width or Height properties of the two Rectangle structures are unequal; otherwise false. + /// The to compare. + /// The to compare. + /// true if any of the x, y, width, or height properties of the two rectangle structures are unequal; otherwise false. public static bool operator !=(Rectangle rect1, Rectangle rect2) => !(rect1 == rect2); } }