没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
[UI / NS] BezierPath +长度 该项目提供了一个简单的API来获取UIBezierPath或NSBezierPath的长度。 例子: let rect = CGRect ( origin : . zero , size : CGSize ( width : 100 , height : 300 )) let path = UIBezierPath ( ovalIn : rect) // Length in pt. let length = path. length 还有一个API,用于以一定百分比获取路径上的点,例如: // CGPoint at 50% of path let point = path. point ( at : 0.5 ) 要求 iOS 8.0以上版本/ macOS 10.9以上版本/ tvOS 9.0以上版本/ watchOS 2.0以上
资源推荐
资源详情
资源评论
收起资源包目录
bezierpath-length-master.zip (52个子文件)
bezierpath-length-master
.gitignore 225B
codecov.yml 65B
.codeclimate.yml 200B
Example
Example
BezierView.swift 976B
ViewController.swift 5KB
Info.plist 1KB
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 14KB
AppDelegate.swift 2KB
Assets.xcassets
AppIcon.appiconset
Contents.json 1KB
Example.xcodeproj
xcshareddata
xcschemes
iOS Example.xcscheme 3KB
project.xcworkspace
contents.xcworkspacedata 152B
project.pbxproj 14KB
.travis.yml 3KB
BezierPathLengthTests
Info.plist 680B
BezierPathLengthTests.swift 4KB
LICENSE 1KB
.swift-version 3B
BezierPathLength tvOS
Info.plist 753B
BezierPathLength tvOS.h 162B
README.md 2KB
BezierPathLength watchOS
BezierPathLength watchOS.h 168B
Info.plist 753B
BezierPathLength macOS
Info.plist 859B
BezierPathLength macOS.h 164B
BezierPathLength.podspec 666B
BezierPathLength.xcodeproj
xcshareddata
xcschemes
BezierPathLength iOS.xcscheme 4KB
BezierPathLength watchOS.xcscheme 3KB
BezierPathLength macOS.xcscheme 3KB
BezierPathLengthTests.xcscheme 2KB
BezierPathLength tvOS.xcscheme 3KB
project.pbxproj 33KB
.gitattributes 43B
calculations.md 5KB
Source
PathElement.swift 2KB
Info.plist 753B
BezierPath+Length.swift 8KB
BezierPathLength.h 152B
BezierPathLength.xcworkspace
contents.xcworkspacedata 255B
calculations-resources
quadratic-parametric.png 21KB
linear-distance.png 21KB
quad-first-factor.png 8KB
linear-first-factor.png 7KB
Quadratic Parametric Function.gcx 170KB
pascals-triangle.png 12KB
quad-control-point.gif 523KB
linear-parametric.png 10KB
Linear Parametric Function.gcx 158KB
cubic-parametric.png 29KB
cubic-first-factor.png 8KB
Cubic Parametric Function.gcx 191KB
.editorconfig 51B
共 52 条
- 1
资源评论
火影耀阳
- 粉丝: 30
- 资源: 4560
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功