Line
01 Syntax
Microsoft.VisualBasic.Imaging.Drawing2D.Shapes.Line
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | |
| LengthVariationFromPointA | 1 | 在A短点处发生长度变化, B点的位置不变 |
| ParallelShift | 1 | 对这条线段进行平行位移 |
03 Properties
04 Members
#ctor(
PointF, PointF, Color, Int32)Parameters
| Name | Type | Description |
|---|---|---|
a | PointF | 在进行位移的时候,这两个点之间的相对位置不会发生改变 |
b | PointF | - |
c | Color | - |
width | Int32 | - |
LengthVariationFromPointA(
Double)在A短点处发生长度变化, B点的位置不变
Parameters
| Name | Type | Description |
|---|---|---|
d | Double | 大于零为长度延伸,小于零为线段的长度缩短 |
ParallelShift(
Double)对这条线段进行平行位移
Parameters
| Name | Type | Description |
|---|---|---|
d# | Double | 位移的距离 |
Length
线段的长度
Alpha
返回线段和X轴的夹角,夹角值为弧度值