objective c - What is the line of code to draw axes (x and y) in a custom view? -
i trying draw plane on can graphed on calculator, , know can draw axis 1 or few lines of code not know are.
thanks
i believe looking nsbezierpath. has methods like:
+ (void)strokelinefrompoint:(nspoint)point1 topoint:(nspoint)point2
you may want take @ nscolor need use set stroke color is.
in ios, equivalent class uibezierpath.
Comments
Post a Comment