[]
Creates a new rectangle shape.
public RectangleShape()
Public Sub New()
Creates a new rectangle shape object from serialization.
public RectangleShape(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 RectangleShape(RectangleShape shape)
Public Sub New(shape As RectangleShape)
| Type | Name | Description |
|---|---|---|
| RectangleShape | shape | Shape to copy. |