http://www.emgu.com
Renders the specified text string in the image. Symbols that cannot be rendered using the specified font are replaced by "Tofu" or non-drawn.
Namespace:
Emgu.CV.Freetype
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic void PutText(
IInputOutputArray img,
string text,
Point org,
int fontHeight,
MCvScalar color,
int thickness,
LineType lineType,
bool bottomLeftOrigin
)
Public Sub PutText (
img As IInputOutputArray,
text As String,
org As Point,
fontHeight As Integer,
color As MCvScalar,
thickness As Integer,
lineType As LineType,
bottomLeftOrigin As Boolean
)
public:
void PutText(
IInputOutputArray^ img,
String^ text,
Point org,
int fontHeight,
MCvScalar color,
int thickness,
LineType lineType,
bool bottomLeftOrigin
)
member PutText :
img : IInputOutputArray *
text : string *
org : Point *
fontHeight : int *
color : MCvScalar *
thickness : int *
lineType : LineType *
bottomLeftOrigin : bool -> unit
Parameters
- img
- Type: Emgu.CVIInputOutputArray
Image. - text
- Type: SystemString
Text string to be drawn. - org
- Type: System.DrawingPoint
Bottom-left/Top-left corner of the text string in the image. - fontHeight
- Type: SystemInt32
Drawing font size by pixel unit. - color
- Type: Emgu.CV.StructureMCvScalar
Text color. - thickness
- Type: SystemInt32
Thickness of the lines used to draw a text when negative, the glyph is filled. Otherwise, the glyph is drawn with this thickness. - lineType
- Type: Emgu.CV.CvEnumLineType
Line type - bottomLeftOrigin
- Type: SystemBoolean
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner.
See Also