Ets_Shape_Ellipse_Info_Get()

注意: 需要 OPNET Development Kit

摘要

获取椭圆的形状属性。

语法

Ets_Shape_Ellipse_Info_Get (ellipse_shape_hndl, box, edge_line_width, edge_line_style, edge_line_color, fill_pattern, fill_fore_color, fill_back_color)
参数 类型 说明
ellipse_shape_hndl EtsT_Shape_Handle 目标椭圆形状的句柄。
box EtsT_Shape_Rect * 定义目标椭圆的矩形。坐标盒的详细说明见 Table 26。
edge_line_width int * 边的线的宽度,单位为像素。
edge_line_style EtsT_Shape_Line_Style * 线的样式,取 EtsC_Shape_Line_Solid 或 EtsC_Shape_Line_None(不可见)。
edge_line_color EtsT_Color * 线的颜色。详见 Shape Colors。
fill_pattern EtsT_Shape_Brush_Name * 椭圆的填充图案(详见 Brush Name)。
fill_fore_color EtsT_Color * 填充图案的前景色。未指定时为透明。详见 Shape Colors。
fill_back_color EtsT_Color * 填充图案的背景色。未指定时为透明。详见 Shape Colors。

返回类型

EtsT_Compcode

EtsC_Compcode_Success;若传入的形状句柄不是椭圆,则为 EtsC_Compcode_Failure。

头文件

ets_api_shapeset.h

详情

关于该形状各参数的详细说明,见 Ets_Shape_Ellipse_Create()。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com