C# Class PurplePen.TextCourseObj

Inheritance: CourseObj
Afficher le fichier Open project: petergolde/PurplePen

Méthodes publiques

Свойство Type Description
fontColor SpecialColor
fontName string
fontStyle FontStyle
text string
topLeft System.Drawing.PointF

Protected Properties

Свойство Type Description
size System.Drawing.SizeF

Méthodes publiques

Méthode Description
AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
DistanceFromPoint ( PointF pt ) : double
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetHighlightBounds ( ) : RectangleF
Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
Offset ( float dx, float dy ) : void
TextCourseObj ( Id controlId, Id courseControlId, Id specialId, string text, PointF topLeft, string fontName, FontStyle fontStyle, SpecialColor fontColor, float emHeight, float outlineWidth ) : System
ToString ( ) : string

Méthodes protégées

Méthode Description
AddToMap ( Map map, SymDef symdef ) : void
CreateSymDef ( Map map, SymColor symColor ) : SymDef
CreateSymDef ( Map map, SymColor symColor, SymColor whiteColor ) : SymDef
SymDefKey ( ) : object

Private Methods

Méthode Description
MeasureText ( ) : SizeF

Method Details

AddToMap() public méthode

public AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
map Map
symColor SymColor
dict SymDef>.Dictionary
Résultat void

AddToMap() protected méthode

protected AddToMap ( Map map, SymDef symdef ) : void
map Map
symdef SymDef
Résultat void

CreateSymDef() protected méthode

protected CreateSymDef ( Map map, SymColor symColor ) : SymDef
map Map
symColor SymColor
Résultat SymDef

CreateSymDef() protected méthode

protected CreateSymDef ( Map map, SymColor symColor, SymColor whiteColor ) : SymDef
map Map
symColor SymColor
whiteColor SymColor
Résultat SymDef

DistanceFromPoint() public méthode

public DistanceFromPoint ( PointF pt ) : double
pt System.Drawing.PointF
Résultat double

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetHighlightBounds() public méthode

public GetHighlightBounds ( ) : RectangleF
Résultat System.Drawing.RectangleF

Highlight() public méthode

public Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
brush System.Drawing.Brush
erasing bool
Résultat void

Offset() public méthode

public Offset ( float dx, float dy ) : void
dx float
dy float
Résultat void

SymDefKey() protected méthode

protected SymDefKey ( ) : object
Résultat object

TextCourseObj() public méthode

public TextCourseObj ( Id controlId, Id courseControlId, Id specialId, string text, PointF topLeft, string fontName, FontStyle fontStyle, SpecialColor fontColor, float emHeight, float outlineWidth ) : System
controlId Id
courseControlId Id
specialId Id
text string
topLeft System.Drawing.PointF
fontName string
fontStyle FontStyle
fontColor SpecialColor
emHeight float
outlineWidth float
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

fontColor public_oe property

public SpecialColor,PurplePen fontColor
Résultat SpecialColor

fontName public_oe property

public string fontName
Résultat string

fontStyle public_oe property

public FontStyle fontStyle
Résultat FontStyle

size protected_oe property

protected SizeF,System.Drawing size
Résultat System.Drawing.SizeF

text public_oe property

public string text
Résultat string

topLeft public_oe property

public PointF,System.Drawing topLeft
Résultat System.Drawing.PointF