renders text string in the image
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void PutText(
string text,
Point org,
HersheyFonts fontFace,
double fontScale,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes.Link8,
bool bottomLeftOrigin = false
)
Public Sub PutText (
text As String,
org As Point,
fontFace As HersheyFonts,
fontScale As Double,
color As Scalar,
Optional thickness As Integer = 1,
Optional lineType As LineTypes = LineTypes.Link8,
Optional bottomLeftOrigin As Boolean = false
)
public:
void PutText(
String^ text,
Point org,
HersheyFonts fontFace,
double fontScale,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
bool bottomLeftOrigin = false
)
member PutText :
text : string *
org : Point *
fontFace : HersheyFonts *
fontScale : float *
color : Scalar *
?thickness : int *
?lineType : LineTypes *
?bottomLeftOrigin : bool
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineTypes.Link8
let _bottomLeftOrigin = defaultArg bottomLeftOrigin false
*)
-> unit
function PutText(text, org, fontFace, fontScale, color, thickness, lineType, bottomLeftOrigin);
Parameters
- text
- Type: SystemString
- org
- Type: OpenCvSharpPoint
- fontFace
- Type: OpenCvSharpHersheyFonts
- fontScale
- Type: SystemDouble
- color
- Type: OpenCvSharpScalar
- thickness (Optional)
- Type: SystemInt32
- lineType (Optional)
- Type: OpenCvSharpLineTypes
- bottomLeftOrigin (Optional)
- Type: SystemBoolean
See Also