XpsArcSegment

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsPathSegment

public class XpsArcSegment extends XpsPathSegment

Class incapsulating ArcSegment element features. This element describes an elliptical arc.

Methods

MethodDescription
deepClone()Clones this arc segment.
equals(Object arg0)
getClass()
getPoint()Returns the endpoint of the elliptical arc.
getRotationAngle()Returns the value indicating how the ellipse is rotated relative to the current coordinate system.
getSize()Returns the x and y radius of the elliptical arc as an x,y pair.
getSweepDirection()Returns the value specifying the direction in which the arc is drawn.
hashCode()
isLargeArc()Returns the value determining whether the arc is drawn with a sweep of 180 or greater.
isStroked()Returns the value specifying whether the stroke for this segment of the path is drawn.
notify()
notifyAll()
setLargeArc(boolean value)Sets the value determining whether the arc is drawn with a sweep of 180 or greater.
setPoint(Point2D value)Sets the endpoint of the elliptical arc.
setRotationAngle(float value)Sets the value indicating how the ellipse is rotated relative to the current coordinate system.
setSize(Dimension2D value)Sets the x and y radius of the elliptical arc as an x,y pair.
setStroked(boolean value)Sets the value specifying whether the stroke for this segment of the path is drawn.
setSweepDirection(XpsSweepDirection value)Sets the value specifying the direction in which the arc is drawn.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsArcSegment deepClone()

Clones this arc segment.

Returns: XpsArcSegment - Clone of this arc segment.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPoint()

public Point2D getPoint()

Returns the endpoint of the elliptical arc.

Returns: java.awt.geom.Point2D - The endpoint of the elliptical arc.

getRotationAngle()

public float getRotationAngle()

Returns the value indicating how the ellipse is rotated relative to the current coordinate system.

Returns: float - The value indicating how the ellipse is rotated relative to the current coordinate system.

getSize()

public Dimension2D getSize()

Returns the x and y radius of the elliptical arc as an x,y pair.

Returns: java.awt.geom.Dimension2D - The x and y radius of the elliptical arc as an x,y pair.

getSweepDirection()

public XpsSweepDirection getSweepDirection()

Returns the value specifying the direction in which the arc is drawn.

Returns: XpsSweepDirection - The value specifying the direction in which the arc is drawn.

hashCode()

public native int hashCode()

Returns: int

isLargeArc()

public boolean isLargeArc()

Returns the value determining whether the arc is drawn with a sweep of 180 or greater.

Returns: boolean - The value determining whether the arc is drawn with a sweep of 180 or greater.

isStroked()

public boolean isStroked()

Returns the value specifying whether the stroke for this segment of the path is drawn.

Returns: boolean - The value specifying whether the stroke for this segment of the path is drawn.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setLargeArc(boolean value)

public void setLargeArc(boolean value)

Sets the value determining whether the arc is drawn with a sweep of 180 or greater.

Parameters:

ParameterTypeDescription
valuebooleanThe value determining whether the arc is drawn with a sweep of 180 or greater.

setPoint(Point2D value)

public void setPoint(Point2D value)

Sets the endpoint of the elliptical arc.

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2DThe endpoint of the elliptical arc.

setRotationAngle(float value)

public void setRotationAngle(float value)

Sets the value indicating how the ellipse is rotated relative to the current coordinate system.

Parameters:

ParameterTypeDescription
valuefloatThe value indicating how the ellipse is rotated relative to the current coordinate system.

setSize(Dimension2D value)

public void setSize(Dimension2D value)

Sets the x and y radius of the elliptical arc as an x,y pair.

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Dimension2DThe x and y radius of the elliptical arc as an x,y pair.

setStroked(boolean value)

public void setStroked(boolean value)

Sets the value specifying whether the stroke for this segment of the path is drawn.

Parameters:

ParameterTypeDescription
valuebooleanThe value specifying whether the stroke for this segment of the path is drawn.

setSweepDirection(XpsSweepDirection value)

public void setSweepDirection(XpsSweepDirection value)

Sets the value specifying the direction in which the arc is drawn.

Parameters:

ParameterTypeDescription
valueXpsSweepDirectionThe value specifying the direction in which the arc is drawn.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int