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:

参数类型描述
parentOdObject父对象。

getPathCommands()

public OdGraphicObject[] getPathCommands()

获取或设置路径命令。

Returns: com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject[] - 路径命令。

setPathCommands(OdGraphicObject[] value)

public void setPathCommands(OdGraphicObject[] value)

获取或设置路径命令。

Parameters:

参数类型描述
valueOdGraphicObject[]路径命令。

getPoint1()

public PointF getPoint1()

获取或设置 point1。

Returns: PointF - The point1.

setPoint1(PointF value)

public void setPoint1(PointF value)

获取或设置 point1。

Parameters:

参数类型描述
valuePointF点1。

getPoint2()

public PointF getPoint2()

获取或设置 point2。

Returns: PointF - The point2.

setPoint2(PointF value)

public void setPoint2(PointF value)

获取或设置 point2。

Parameters:

参数类型描述
valuePointF点2。