Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
bplok20010 committed Nov 10, 2022
1 parent fcf64ba commit baf1659
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,27 @@ export declare class RefLine<T extends Rect = Rect> {
hasMatchedRefLine(position: RefLinePosition): boolean;
getVRefLines(): MatchedLine<T>[];
getHRefLines(): MatchedLine<T>[];
/**
* 返回当前矩形匹配到的 水平、垂直参考线
* 注:不包括自定义吸附参考线,既:adsorbVLines、adsorbHLines
* @returns
*/
getAllRefLines(): MatchedLine<T>[];
/**
* 返回当前矩形匹配到的自定义水平参考线
* @returns
*/
getAdsorbHRefLines(): MatchedLine<T>[];
/**
* 返回当前矩形匹配到的自定义垂直参考线
* @returns
*/
getAdsorbVRefLines(): MatchedLine<T>[];
/**
* 返回当前矩形匹配到的自定义水平、垂直参考线
* @returns
*/
getAllAdsorbRefLines(): MatchedLine<T>[];
/**
* 适配偏移量,达到吸附效果
* @param type
Expand Down

0 comments on commit baf1659

Please sign in to comment.