Bagikan melalui


Rectangle.Top Property

Returns the y-coordinate of the top of the rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int Top { get; }

Property Value

The y-coordinate of the top of the rectangle.

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone