XpsArcSegment
Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsPathSegment
public class XpsArcSegment extends XpsPathSegment
封装 ArcSegment 元素特性的类。此元素描述椭圆弧。
方法
| 方法 | 描述 |
|---|---|
| deepClone() | 克隆此弧段。 |
| equals(Object arg0) | |
| getClass() | |
| getPoint() | 返回椭圆弧的终点。 |
| getRotationAngle() | 返回指示椭圆相对于当前坐标系旋转方式的值。 |
| getSize() | 以 x,y 对的形式返回椭圆弧的 x 和 y 半径。 |
| getSweepDirection() | 返回指定弧线绘制方向的值。 |
| hashCode() | |
| isLargeArc() | 返回决定弧线是否以 180 度或更大幅度绘制的值。 |
| isStroked() | 返回指定路径此段是否绘制描边的值。 |
| notify() | |
| notifyAll() | |
| setLargeArc(boolean value) | 设置确定弧线是否以 180 度或更大幅度绘制的值。 |
| setPoint(Point2D value) | 设置椭圆弧的终点。 |
| setRotationAngle(float value) | 设置指示椭圆相对于当前坐标系旋转方式的值。 |
| setSize(Dimension2D value) | 设置椭圆弧的 x 和 y 半径,以 x,y 对的形式。 |
| setStroked(boolean value) | 设置指定路径此段是否绘制描边的值。 |
| setSweepDirection(XpsSweepDirection value) | 设置指定弧线绘制方向的值。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
deepClone()
public XpsArcSegment deepClone()
克隆此弧段。
Returns: XpsArcSegment - Clone of this arc segment.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getPoint()
public Point2D getPoint()
返回椭圆弧的终点。
Returns: java.awt.geom.Point2D - 椭圆弧的终点。
getRotationAngle()
public float getRotationAngle()
返回指示椭圆相对于当前坐标系旋转方式的值。
Returns: float - 指示椭圆相对于当前坐标系旋转方式的值。
getSize()
public Dimension2D getSize()
以 x,y 对的形式返回椭圆弧的 x 和 y 半径。
Returns: java.awt.geom.Dimension2D - 以 x,y 对形式表示的椭圆弧的 x 和 y 半径。
getSweepDirection()
public XpsSweepDirection getSweepDirection()
返回指定弧线绘制方向的值。
Returns: XpsSweepDirection - The value specifying the direction in which the arc is drawn.
hashCode()
public native int hashCode()
Returns: int
isLargeArc()
public boolean isLargeArc()
返回决定弧线是否以 180 度或更大幅度绘制的值。
Returns: boolean - 确定弧线是否以 180 度或更大幅度绘制的值。
isStroked()
public boolean isStroked()
返回指定路径此段是否绘制描边的值。
Returns: boolean - 指定路径此段是否绘制描边的值。
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setLargeArc(boolean value)
public void setLargeArc(boolean value)
设置确定弧线是否以 180 度或更大幅度绘制的值。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | boolean | 确定弧线是否以 180 度或更大幅度绘制的值。 |
setPoint(Point2D value)
public void setPoint(Point2D value)
设置椭圆弧的终点。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | java.awt.geom.Point2D | 椭圆弧的终点。 |
setRotationAngle(float value)
public void setRotationAngle(float value)
设置指示椭圆相对于当前坐标系旋转方式的值。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | float | 指示椭圆相对于当前坐标系旋转方式的值。 |
setSize(Dimension2D value)
public void setSize(Dimension2D value)
设置椭圆弧的 x 和 y 半径,以 x,y 对的形式。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | java.awt.geom.Dimension2D | 椭圆弧的 x 和 y 半径,以 x,y 对的形式表示。 |
setStroked(boolean value)
public void setStroked(boolean value)
设置指定路径此段是否绘制描边的值。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | boolean | 指定路径此段是否绘制描边的值。 |
setSweepDirection(XpsSweepDirection value)
public void setSweepDirection(XpsSweepDirection value)
设置指定弧线绘制方向的值。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | XpsSweepDirection | 指定弧线绘制方向的值。 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |