Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectangleArea
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the area of a rectangle.
Syntax
C++
C#
void fil::RectangleArea ( const fil::Rectangle2D& inRectangle, float& outArea )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
outArea | float& |
Examples
![]() |
![]() |
RectangleArea performed on a rectangle with parameters: X = 25, Y = 175, Angle = 325, Width = 250, Height = 125. The outArea returns a value of 31250.