[]
Creates a new line shape.
public LineShape()
Public Sub New()
Creates a new line shape.
public LineShape(Point startPoint, Point endPoint)
Public Sub New(startPoint As Point, endPoint As Point)
| Type | Name | Description |
|---|---|---|
| Point | startPoint | Start point of line |
| Point | endPoint | End point of line |
Creates a new line shape object from serialization.
public LineShape(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | Object that holds the serialized object data |
| StreamingContext | context | Contexual information about the source or destination of the serialization |
Creates a new shape that is a copy of the specified shape.
public LineShape(LineShape shape)
Public Sub New(shape As LineShape)
| Type | Name | Description |
|---|---|---|
| LineShape | shape | Shape to copy. |