C# Класс PurplePen.BasicTextCourseObj

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

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

Метод Описание
BasicTextCourseObj ( Id specialId, string text, RectangleF rectBounding, string fontName, FontStyle fontStyle, SpecialColor color ) : System
GetHandleCursor ( PointF handlePoint ) : Cursor
GetHandles ( ) : System.Drawing.PointF[]
GetHighlightBounds ( ) : RectangleF
Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
MoveHandle ( PointF oldHandle, PointF newHandle ) : void
Offset ( float dx, float dy ) : void
ToString ( ) : string

Приватные методы

Метод Описание
CalculateEmHeight ( string text, string fontName, FontStyle fontStyle, SizeF desiredSize ) : float

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

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

public BasicTextCourseObj ( Id specialId, string text, RectangleF rectBounding, string fontName, FontStyle fontStyle, SpecialColor color ) : System
specialId Id
text string
rectBounding System.Drawing.RectangleF
fontName string
fontStyle FontStyle
color SpecialColor
Результат System

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

public GetHandleCursor ( PointF handlePoint ) : Cursor
handlePoint System.Drawing.PointF
Результат System.Windows.Forms.Cursor

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

public GetHandles ( ) : System.Drawing.PointF[]
Результат System.Drawing.PointF[]

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

public GetHighlightBounds ( ) : RectangleF
Результат System.Drawing.RectangleF

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

public Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
brush System.Drawing.Brush
erasing bool
Результат void

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

public MoveHandle ( PointF oldHandle, PointF newHandle ) : void
oldHandle System.Drawing.PointF
newHandle System.Drawing.PointF
Результат void

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

public Offset ( float dx, float dy ) : void
dx float
dy float
Результат void

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

public ToString ( ) : string
Результат string