Class Rectangle
Namespace: Scripting
Syntax
public class Rectangle
Properties
Height
The height of the rectangle
Declaration
public double Height { get; }
Property Value
Type | Description |
---|---|
System.Double |
Width
The width of the rectangle
Declaration
public double Width { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Contains(IReadable2DLocation)
Test if the Rectangle contains the point
Declaration
public bool Contains(IReadable2DLocation location)
Parameters
Type | Name | Description |
---|---|---|
IReadable2DLocation | location | The point to test |
Returns
Type | Description |
---|---|
System.Boolean | True if the rectangle contains the point, else false |