Ets_Shape_Arc_Info_Get()
Note: Requires OPNET Development Kit
Abstract
Obtains the shape properties of an arc.
Syntax
Ets_Shape_Arc_Info_Get (arc_shape_hndl, arc_box, angle1, angel2, line_width, line_style, line_color)
| Argument | Type | Description |
|---|---|---|
arc_shape_hndl |
EtsT_Shape_Handle |
Handle to the arc shape of interest. |
arc_box |
EtsT_Shape_Rect * |
A rectangle defining an ellipse of which the desired arc is a segment. |
angle1 |
double * |
The angle at which the arc begins, in degrees. |
angle2 |
double * |
The angle at which the arc ends, in degrees. |
line_width |
int * |
The width of the line, in pixels. |
line_style |
EtsT_Shape_Line_Style * |
The style of the line, either EtsC_Shape_Line_Solid or EtsC_Shape_Line_None (invisible). |
line_color |
EtsT_Color * |
The color of the line. See Shape Colors for details. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success, or EtsC_Compcode_Failure if the shape handle passed is not for an arc.
Header
ets_api_shapeset.h
Details
See Ets_Shape_Arc_Create() for details about this shape’s arguments.