|
Do we Have any method to change line width of DrawArea.circle |
Posted by Xuan on May-26-2015 18:14 |
|
Hi,
I use DrawArea.circle to draw a ellipse line in plot
now I need to support changing line width for the circle, but I don't find any method to
support this function
Dose anyone meet this problem before, or any way to support this kinds of function
|
Re: Do we Have any method to change line width of DrawArea.circle |
Posted by Peter Kwan on May-27-2015 03:31 |
|
Hi Xuan,
Unluckily. the API does not support line width for the ellipse. The followings are some
methods you can try:
(a) Draw multiple ellipses, with radii 1-pixel smaller (or bigger) than each other, so when
combined, they will look like a thick border.
(b) Instead of drawing an ellipse with DrawArea.circle, try to use an XYChart and draw a
spline curve (use XYChart.addSplineLayer) with data points that form an ellipse. The spline
curve and has configurable thickness.
Regards
Peter Kwan |
|