Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-native-geek-image-editor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanglu
react-native-geek-image-editor
Commits
087bb064
Commit
087bb064
authored
Mar 18, 2020
by
huanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2cf79917
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
LFDrawView.m
.../class/LFPhotoEditingController/view/subView/LFDrawView.m
+1
-2
No files found.
ios/LFMediaEditingController/class/LFPhotoEditingController/view/subView/LFDrawView.m
View file @
087bb064
...
...
@@ -65,7 +65,7 @@ NSString *const kLFDrawViewData = @"LFDrawViewData";
-
(
void
)
customInit
{
_lineWidth
=
5
.
f
;
_lineWidth
=
4
.
f
;
_lineColor
=
[
UIColor
redColor
];
_slayerArray
=
[@[]
mutableCopy
];
_lineArray
=
[@[]
mutableCopy
];
...
...
@@ -109,7 +109,6 @@ NSString *const kLFDrawViewData = @"LFDrawViewData";
UITouch
*
touch
=
[
touches
anyObject
];
CGPoint
point
=
[
touch
locationInView
:
self
];
//设置线宽
path
.
lineWidth
=
4
.
0
f
;
path
.
lineCapStyle
=
kCGLineCapRound
;
//线条拐角
path
.
lineJoinStyle
=
kCGLineJoinRound
;
//终点处理
[
path
moveToPoint
:
point
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment