Castle Game Engine: CastleOnScreenMenu: Object TRectangle

# Object TRectangle
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleOnScreenMenu ## Declaration `type TRectangle = object(TObject)` ## Description 2D rectangle. Useful to detect in which rectangle a point (like a mouse position) is. We don't use standard Types.TRect for this, as TRect behavior is sometimes (see PtInRect) suited for rectangles anchored in top-left corner (while we are anchored in bottom-left corner). ## Hierarchy TObject TRectangle ## Overview ### Fields
| `X0: Integer;`
| `Y0: Integer;`
| `Width: Integer;`
| `Height: Integer;`
### Methods
| `function PointInside(const X, Y: Integer): boolean;`
| `procedure DrawBorder(const Color: TVector4f; const BorderWidth: Single = 1.0);`
## Description ### Fields
| `X0: Integer;`
| `Y0: Integer;`
| `Width: Integer;`
| `Height: Integer;`
### Methods
| `function PointInside(const X, Y: Integer): boolean;`
| `procedure DrawBorder(const Color: TVector4f; const BorderWidth: Single = 1.0);`
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:13