Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectangleCharacteristicPoint
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Returns a characteristic point (e.g. the top-left) of the input rectangle.
Syntax
C++
C#
void fil::RectangleCharacteristicPoint ( const fil::Rectangle2D& inRectangle, const fil::Anchor2D::Type inPointAnchor, fil::Point2D& outPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
inPointAnchor | const Anchor2D::Type | TopLeft | |
![]() |
outPoint | Point2D& |
Examples
![]() |
RectangleCharacteristicPoint performed on a rectangle with inPointAnchor = TopLeft.