public class XpsArcSegment extends XpsPathSegment
Class incapsulating ArcSegment element features. This element describes an elliptical arc.
Modifier and Type | Method and Description |
---|---|
XpsArcSegment |
deepClone()
Clones this arc segment.
|
Point2D |
getPoint()
Returns the endpoint of the elliptical arc.
|
float |
getRotationAngle()
Returns the value indicating how the ellipse is rotated relative to the current coordinate system.
|
Dimension2D |
getSize()
Returns the x and y radius of the elliptical arc as an x,y pair.
|
XpsSweepDirection |
getSweepDirection()
Returns the value specifying the direction in which the arc is drawn.
|
boolean |
isLargeArc()
Returns the value determining whether the arc is drawn with a sweep of 180 or greater.
|
void |
setLargeArc(boolean value)
Sets the value determining whether the arc is drawn with a sweep of 180 or greater.
|
void |
setPoint(Point2D value)
Sets the endpoint of the elliptical arc.
|
void |
setRotationAngle(float value)
Sets the value indicating how the ellipse is rotated relative to the current coordinate system.
|
void |
setSize(Dimension2D value)
Sets the x and y radius of the elliptical arc as an x,y pair.
|
void |
setSweepDirection(XpsSweepDirection value)
Sets the value specifying the direction in which the arc is drawn.
|
isStroked, setStroked
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Point2D getPoint()
Returns the endpoint of the elliptical arc.
public void setPoint(Point2D value)
Sets the endpoint of the elliptical arc.
value
- The endpoint of the elliptical arc.public Dimension2D getSize()
Returns the x and y radius of the elliptical arc as an x,y pair.
public void setSize(Dimension2D value)
Sets the x and y radius of the elliptical arc as an x,y pair.
value
- The x and y radius of the elliptical arc as an x,y pair.public float getRotationAngle()
Returns the value indicating how the ellipse is rotated relative to the current coordinate system.
public void setRotationAngle(float value)
Sets the value indicating how the ellipse is rotated relative to the current coordinate system.
value
- The value indicating how the ellipse is rotated relative to the current coordinate system.public boolean isLargeArc()
Returns the value determining whether the arc is drawn with a sweep of 180 or greater.
public void setLargeArc(boolean value)
Sets the value determining whether the arc is drawn with a sweep of 180 or greater.
value
- The value determining whether the arc is drawn with a sweep of 180 or greater.public XpsSweepDirection getSweepDirection()
Returns the value specifying the direction in which the arc is drawn.
public void setSweepDirection(XpsSweepDirection value)
Sets the value specifying the direction in which the arc is drawn.
value
- The value specifying the direction in which the arc is drawn.public XpsArcSegment deepClone()
Clones this arc segment.