C# Класс Emgu.CV.Structure.MCvFont

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

GetTextSize() публичный Метод

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
Результат System.Drawing.Size

MCvFont() публичный Метод

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
Результат System

Описание свойств

ascii публичное свойство

font data and metrics
public IntPtr,System ascii
Результат System.IntPtr

color публичное свойство

For QT
public MCvScalar color
Результат MCvScalar

cyrillic публичное свойство

public IntPtr,System cyrillic
Результат System.IntPtr

dx публичное свойство

horizontal interval between letters
public float dx
Результат float

fontName публичное свойство

For QT
public IntPtr,System fontName
Результат System.IntPtr

font_face публичное свойство

Font type
public CvEnum.FONT font_face
Результат CvEnum.FONT

greek публичное свойство

public IntPtr,System greek
Результат System.IntPtr

hscale публичное свойство

hscale
public float hscale
Результат float

line_type публичное свойство

type of line
public int line_type
Результат int

shear публичное свойство

slope coefficient: 0 - normal, >0 - italic
public float shear
Результат float

thickness публичное свойство

letters thickness
public int thickness
Результат int

vscale публичное свойство

vscale
public float vscale
Результат float