/** * Sets the location, size, angular extents, and closure type of this arc based on the * specified values. */ public void setArcByCenter (float x, float y, float radius, float start, float extent, int type) { setArc(x - radius, y - radius, radius * 2f, radius * 2f, start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc based on the * specified values. */ public void setArcByCenter (float x, float y, float radius, float start, float extent, int type) { setArc(x - radius, y - radius, radius * 2f, radius * 2f, start, extent, type); }
/** * Creates an arc of the specified type with the specified framing rectangle, starting angle * and angular extent. */ public Arc (float x, float y, float width, float height, float start, float extent, int type) { setArc(x, y, width, height, start, extent, type); }
/** * Creates an arc of the specified type with the specified framing rectangle, starting angle * and angular extent. */ public Arc (float x, float y, float width, float height, float start, float extent, int type) { setArc(x, y, width, height, start, extent, type); }
@Override // from RectangularShape public void setFrame (float x, float y, float width, float height) { setArc(x, y, width, height, angleStart(), angleExtent(), type); }
@Override // from RectangularShape public void setFrame (float x, float y, float width, float height) { setArc(x, y, width, height, angleStart(), angleExtent(), type); }
/** * Creates an arc of the specified type with the supplied framing rectangle, starting angle and * angular extent. */ public Arc (IRectangle bounds, float start, float extent, int type) { setArc(bounds.x(), bounds.y(), bounds.width(), bounds.height(), start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc to the specified * values. */ public void setArc (IRectangle rect, float start, float extent, int type) { setArc(rect.x(), rect.y(), rect.width(), rect.height(), start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc to the specified * values. */ public void setArc (XY point, IDimension size, float start, float extent, int type) { setArc(point.x(), point.y(), size.width(), size.height(), start, extent, type); }
/** * Creates an arc of the specified type with the supplied framing rectangle, starting angle and * angular extent. */ public Arc (IRectangle bounds, float start, float extent, int type) { setArc(bounds.x(), bounds.y(), bounds.width(), bounds.height(), start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc to the specified * values. */ public void setArc (XY point, IDimension size, float start, float extent, int type) { setArc(point.x(), point.y(), size.width(), size.height(), start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc to the specified * values. */ public void setArc (IRectangle rect, float start, float extent, int type) { setArc(rect.x(), rect.y(), rect.width(), rect.height(), start, extent, type); }
/** * Sets the location, size, angular extents, and closure type of this arc to the same values as * the supplied arc. */ public void setArc (IArc arc) { setArc(arc.x(), arc.y(), arc.width(), arc.height(), arc.angleStart(), arc.angleExtent(), arc.arcType()); }
/** * Sets the location, size, angular extents, and closure type of this arc to the same values as * the supplied arc. */ public void setArc (IArc arc) { setArc(arc.x(), arc.y(), arc.width(), arc.height(), arc.angleStart(), arc.angleExtent(), arc.arcType()); }