Rectangle

From SwinGame

Rectangle contains a data that is needed to define a rectangle.

  • Basic
    • x (Single) - X coordinate
    • y (Single) - Y coordinate
    • width (Integer) - Width of the rectangle
    • height (Integer) - Height of the rectangle

In .NET (C# and Visual Basic.NET) use the .NET Rectangle from the System.Drawing namespace.

Note: Rectangle is new in version 1.1

Where is it: SGSDK_SHAPES

Also See