OdLine
内容
[
隐藏
]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 OdLine extends OdStyledObject
线对象
构造函数
| 构造函数 | 描述 |
|---|---|
| OdLine(OdObject parent) | 初始化 OdPage 类的新实例。 |
方法
| 方法 | 描述 |
|---|---|
| getPoint1() | 获取或设置 point1。 |
| setPoint1(PointF value) | 获取或设置 point1。 |
| getPoint2() | 获取或设置 point2。 |
| setPoint2(PointF value) | 获取或设置 point2。 |
OdLine(OdObject parent)
public OdLine(OdObject parent)
初始化 OdPage 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| parent | OdObject | 父对象。 |
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。 |