Draw only slices of an ellipse

Hey JUCErs!

Got a quick question (as the topic already says):
I wanna draw only a slice-style part of an ellipse, is there any way to do so?
Like some g.drawEllipse(const float, const float, const float, const float, const float sliceWidth) or a similar workaround?

Any help appreciated,
o.

The Path class has stuff for creating arcs - see if that does what you need.

What does one of them look like then?

Theres Path::addArc() , Path::addCentredArc() and Path::addPieSegment() if any of those is like the ‘slice’ your after.

If not you’ll probably end up doing some kind of path buggery anyway.

[quote=“Karbon L. Forms”]What does one of them look like then?

Theres Path::addArc() , Path::addCentredArc() and Path::addPieSegment() if any of those is like the ‘slice’ your after.

If not you’ll probably end up doing some kind of path buggery anyway.[/quote]

That’s exactly what I was looking for, thanks. Sorry, slice wasn’t the right word, was looking for the pie-thingy. :oops: