code: @Override
      protected boolean prepare(final Context2D context, final Attributes attr, final double alpha)
      {
          final double rx = attr.getRadiusX();
  
          final double ry = attr.getRadiusY();
  
          if ((rx > 0) && (ry > 0))
          {
              context.beginPath();
  
              context.ellipse(0, 0, rx, ry, 0, attr.getStartAngle(), attr.getEndAngle(), attr.isCounterClockwise());
  
              return true;
          }
          return false;
      }
docs: Draws this arc.
  
  @param context the {@link Context2D} used to draw this arc.