Метод | Описание | |
---|---|---|
CreateFont ( string fontName, float emHeight, bool bold, bool italic, StringAlignment alignment ) : object | ||
CreatePen ( float thickness, LineJoin lineJoin, LineCap lineCap ) : object | ||
DrawLine ( object pen, float x1, float y1, float x2, float y2 ) : void | ||
DrawSingleLineText ( object font, string text, |
||
DrawSymbol ( |
||
DrawWrappedText ( object font, string text, |
||
MapRenderer ( Map map, SymColor color, SymDef>.Dictionary | ||
MeasureSingleLineText ( object font, string text, |
||
WrappedTextFits ( object font, string text, |
Метод | Описание | |
---|---|---|
GetOcadId ( ) : string |
public CreateFont ( string fontName, float emHeight, bool bold, bool italic, StringAlignment alignment ) : object | ||
fontName | string | |
emHeight | float | |
bold | bool | |
italic | bool | |
alignment | StringAlignment | |
Результат | object |
public CreatePen ( float thickness, LineJoin lineJoin, LineCap lineCap ) : object | ||
thickness | float | |
lineJoin | LineJoin | |
lineCap | LineCap | |
Результат | object |
public DrawLine ( object pen, float x1, float y1, float x2, float y2 ) : void | ||
pen | object | |
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
Результат | void |
public DrawSingleLineText ( object font, string text, |
||
font | object | |
text | string | |
rect | ||
horizAlignment | StringAlignment | |
Результат | void |
public DrawSymbol ( |
||
symbol | ||
rect | ||
Результат | void |
public DrawWrappedText ( object font, string text, |
||
font | object | |
text | string | |
rect | ||
horizAlignment | StringAlignment | |
Результат | void |
public MapRenderer ( Map map, SymColor color, SymDef>.Dictionary | ||
map | Map | |
color | SymColor | |
dict | SymDef>.Dictionary | |
Результат | System |
public MeasureSingleLineText ( object font, string text, |
||
font | object | |
text | string | |
rect | ||
horizAlignment | StringAlignment | |
Результат | float |
public WrappedTextFits ( object font, string text, |
||
font | object | |
text | string | |
rect | ||
horizAlignment | StringAlignment | |
Результат | bool |