C# Class Emgu.CV.Structure.MCvFont

Afficher le fichier Open project: fajoy/RTSPExample Class Usage Examples

Méthodes publiques

Свойство Type Description
ascii System.IntPtr
color MCvScalar
cyrillic System.IntPtr
dx float
fontName System.IntPtr
font_face CvEnum.FONT
greek System.IntPtr
hscale float
line_type int
shear float
thickness int
vscale float

Méthodes publiques

Méthode Description
GetTextSize ( string text, int baseline ) : System.Drawing.Size

Calculates the binding rectangle for the given text string when the font is used

MCvFont ( CvEnum type, double hscale, double vscale ) : System

Create a Font of the specific type, horizontal scale and vertical scale

Method Details

GetTextSize() public méthode

Calculates the binding rectangle for the given text string when the font is used
public GetTextSize ( string text, int baseline ) : System.Drawing.Size
text string Input string
baseline int y-coordinate of the baseline relatively to the bottom-most text point
Résultat System.Drawing.Size

MCvFont() public méthode

Create a Font of the specific type, horizontal scale and vertical scale
public MCvFont ( CvEnum type, double hscale, double vscale ) : System
type CvEnum The type of the font
hscale double The horizontal scale of the font
vscale double the vertical scale of the fonr
Résultat System

Property Details

ascii public_oe property

font data and metrics
public IntPtr,System ascii
Résultat System.IntPtr

color public_oe property

For QT
public MCvScalar color
Résultat MCvScalar

cyrillic public_oe property

public IntPtr,System cyrillic
Résultat System.IntPtr

dx public_oe property

horizontal interval between letters
public float dx
Résultat float

fontName public_oe property

For QT
public IntPtr,System fontName
Résultat System.IntPtr

font_face public_oe property

Font type
public CvEnum.FONT font_face
Résultat CvEnum.FONT

greek public_oe property

public IntPtr,System greek
Résultat System.IntPtr

hscale public_oe property

hscale
public float hscale
Résultat float

line_type public_oe property

type of line
public int line_type
Résultat int

shear public_oe property

slope coefficient: 0 - normal, >0 - italic
public float shear
Résultat float

thickness public_oe property

letters thickness
public int thickness
Résultat int

vscale public_oe property

vscale
public float vscale
Résultat float