[]
Initializes a new instance of a DonutShape.
public DonutShape()
Initializes a new instance of a DonutShape.
public DonutShape(Point pt1, Point pt2)
Type | Name | Description |
---|---|---|
Point | pt1 | The start point of the line, coordinates in twips. |
Point | pt2 | The end point of the line, coordinates in twips. |
Initializes a new instance of a DonutShape.
public DonutShape(int x1, int y1, int x2, int y2)
Type | Name | Description |
---|---|---|
int | x1 | The horizontal position of the begin line, in twips. |
int | y1 | The vertical position of the begin line, in twips. |
int | x2 | The horizontal position of the end line, in twips. |
int | y2 | The vertical position of the end line, in twips. |
Initializes a new instance of a DonutShape.
public DonutShape(IShapeContainer container, int x1, int y1, int x2, int y2)
Type | Name | Description |
---|---|---|
IShapeContainer | container | IShapeContainer object that owns the shape container. |
int | x1 | The horizontal position of the begin line, in twips. |
int | y1 | The vertical position of the begin line, in twips. |
int | x2 | The horizontal position of the end line, in twips. |
int | y2 | The vertical position of the end line, in twips. |