RectangleFCenteredRect Method |
Helper to create a rectangle centered on 0.5,0.5 with a given size.
Namespace: Scandit.RecognitionAssembly: Scandit.Recognition (in Scandit.Recognition.dll) Version: 4.16.0.0 (4.16.0.0)
Syntax public static RectangleF CenteredRect(
SizeF size
)
Public Shared Function CenteredRect (
size As SizeF
) As RectangleF
public:
static RectangleF CenteredRect(
SizeF size
)
static member CenteredRect :
size : SizeF -> RectangleF
Parameters
- size
- Type: Scandit.RecognitionSizeF
The size of the rectangle
Return Value
Type:
RectangleFRectangle centered on 0.5/0.5 with the given size.
See Also