Click or drag to resize

Freetype2PutText Method

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)
Syntax
public void PutText(
	IInputOutputArray img,
	string text,
	Point org,
	int fontHeight,
	MCvScalar color,
	int thickness,
	LineType lineType,
	bool bottomLeftOrigin
)

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