次の方法で共有


Rectangle.Location Property

Gets or sets the upper-left value of the Rectangle.

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

Syntax

public Point Location { get; set; }

Property Value

The new upper-left corner 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