Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Yifei Zhou
2014-12-30 18:14:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9071dfa28711fee65409567ce9593f31cd8e94cf
9071dfa2
1 parent
49700477
fixed layer position problem
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
PNChart/PNCircleChart.m
PNChart/PNCircleChart.m
View file @
9071dfa
...
...
@@ -33,7 +33,7 @@
CGFloat
endAngle
=
clockwise
?
-
90
.
01
f
:
270
.
01
f
;
_lineWidth
=
@8.0f
;
UIBezierPath
*
circlePath
=
[
UIBezierPath
bezierPathWithArcCenter
:
CGPointMake
(
self
.
center
.
x
,
self
.
center
.
y
)
UIBezierPath
*
circlePath
=
[
UIBezierPath
bezierPathWithArcCenter
:
CGPointMake
(
self
.
bounds
.
size
.
width
/
2
.
0
f
,
self
.
bounds
.
size
.
height
/
2
.
0
f
)
radius
:(
self
.
frame
.
size
.
height
*
0
.
5
)
-
[
_lineWidth
floatValue
]
startAngle:
DEGREES_TO_RADIANS
(
startAngle
)
endAngle:
DEGREES_TO_RADIANS
(
endAngle
)
...
...
Please
register
or
login
to post a comment