XMCircleType icon indicating copy to clipboard operation
XMCircleType copied to clipboard

Text Direction

Open ajaydexati opened this issue 5 years ago • 2 comments

I would like to change the text direction as when it's curve from top to bottom its looks good, but when curving bottom to top text are opposite direction so would like to invert the text direction.

ajaydexati avatar May 22 '19 06:05 ajaydexati

I haven't used or updated this component for 5 years, but if it still works, you ca easily modify it to run the other way. Try changing lines https://github.com/MichMich/XMCircleType/blob/master/XMCircleType/Views/XMCircleTypeView.m#L112 and https://github.com/MichMich/XMCircleType/blob/master/XMCircleType/Views/XMCircleTypeView.m#L148 to subtract in stead of adding.

MichMich avatar May 22 '19 08:05 MichMich

Thanks for the reply but unable to do with suggested method applied instead CATransformScale for doing the same.

ajaydexati avatar May 22 '19 11:05 ajaydexati