OdConnector
内容
[
隐藏
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject
public class OdConnector extends OdStyledObject
连接器
构造函数
| 构造函数 | 描述 |
|---|---|
| OdConnector(OdObject parent) | 初始化 OdConnector 类的新实例。 |
方法
| 方法 | 描述 |
|---|---|
| getPathCommands() | 获取或设置路径命令。 |
| setPathCommands(OdGraphicObject[] value) | 获取或设置路径命令。 |
| getPoint1() | 获取或设置 point1。 |
| setPoint1(PointF value) | 获取或设置 point1。 |
| getPoint2() | 获取或设置 point2。 |
| setPoint2(PointF value) | 获取或设置 point2。 |
OdConnector(OdObject parent)
public OdConnector(OdObject parent)
初始化 OdConnector 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| parent | OdObject | 父对象。 |
getPathCommands()
public OdGraphicObject[] getPathCommands()
获取或设置路径命令。
Returns: com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject[] - 路径命令。
setPathCommands(OdGraphicObject[] value)
public void setPathCommands(OdGraphicObject[] value)
获取或设置路径命令。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | OdGraphicObject[] | 路径命令。 |
getPoint1()
public PointF getPoint1()
获取或设置 point1。
Returns: PointF - The point1.
setPoint1(PointF value)
public void setPoint1(PointF value)
获取或设置 point1。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | PointF | 点1。 |
getPoint2()
public PointF getPoint2()
获取或设置 point2。
Returns: PointF - The point2.
setPoint2(PointF value)
public void setPoint2(PointF value)
获取或设置 point2。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | PointF | 点2。 |