Back to FabImage Studio website
You are here: Start » Filter Reference » OpenCV » Drawing » cvGetTextSize
Module: | OpenCV |
---|
Calculates the width and height of a text string.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inText | String | Text string to be drawn. | |
![]() |
inFontFace | CvFontType | Font type. | |
![]() |
inFontItalic | Bool | When true, text letters are slanted. | |
![]() |
inFontScale | Real | 0.0 - ![]() |
Font scale factor that is multiplied by the font-specific base size. |
![]() |
inThickness | Integer | 1 - ![]() |
Thickness of the lines used to draw a text. |
![]() |
outWidth | Integer | Width of text. | |
![]() |
outHeight | Integer | Height of text. | |
![]() |
outBaseline | Integer | y-coordinate of the baseline relative to the bottom-most text point. |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inText empty in cvGetTextSize. |
Complexity Level
This filter is available on Basic Complexity Level.