https://github.com/zswang/jsizes
锚点控制组件
https://github.com/zswang/jsizes
Last synced: about 1 year ago
JSON representation
锚点控制组件
- Host: GitHub
- URL: https://github.com/zswang/jsizes
- Owner: zswang
- Created: 2015-06-25T01:54:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T16:50:57.000Z (over 10 years ago)
- Last Synced: 2025-01-24T09:09:40.378Z (over 1 year ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jsizes(++)
====
一款通过锚点改变矩形大小和角度的组件
## 基本信息
### 锚点
```
r
(x,y)|
nw--n--ne(x + w, y)
| | |
w--c--e (x + w, y + h / 2)
| | |
sw--s--se(x + w, y + h)
```
name|full name |desc
----|----------|----
n |north |
s |south |
w |west |
e |east |
nw |north west|
ne |north east|
sw |south west|
se |south east|
c |center |中心点
r |rotate |旋转点