BondConnectionModel
01 Syntax
Emily.PDB_Canvas.BondConnectionModel
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| DrawBond | 1 | 绘制化学键 |
03 Members
DrawBond(
IGraphics, PointF, PointF, Pen, Int32)绘制化学键
Remarks
根据化学键类型绘制单条线或平行线
Parameters
| Name | Type | Description |
|---|---|---|
g | IGraphics | 绘图图面 |
a | PointF | 起始点 |
b | PointF | 结束点 |
pen | Pen | 绘制线条的画笔 |
bondType | Int32 | 化学键类型(1=单键, 2=双键, 3=三键) |