@visactor/vutils
Advanced tools
Comparing version 0.18.3 to 0.18.4
import type { IBoundsLike } from '../data-structure'; | ||
export type InsideBoundsAnchorType = 'inside-top' | 'inside-bottom' | 'inside-left' | 'inside-right'; | ||
export type InsideBoundsAnchorType = 'inside' | 'inside-top' | 'inside-bottom' | 'inside-left' | 'inside-right'; | ||
export type BoundsAnchorType = 'top' | 'bottom' | 'left' | 'right' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'center'; | ||
export declare const calculateAnchorOfBounds: (bounds: IBoundsLike, anchorType: BoundsAnchorType | InsideBoundsAnchorType) => { | ||
export declare const calculateAnchorOfBounds: (bounds: IBoundsLike, anchorType: string) => { | ||
x: number; | ||
y: number; | ||
}; |
import type { IBoundsLike } from '../data-structure'; | ||
export type InsideBoundsAnchorType = 'inside-top' | 'inside-bottom' | 'inside-left' | 'inside-right'; | ||
export type InsideBoundsAnchorType = 'inside' | 'inside-top' | 'inside-bottom' | 'inside-left' | 'inside-right'; | ||
export type BoundsAnchorType = 'top' | 'bottom' | 'left' | 'right' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'center'; | ||
export declare const calculateAnchorOfBounds: (bounds: IBoundsLike, anchorType: BoundsAnchorType | InsideBoundsAnchorType) => { | ||
export declare const calculateAnchorOfBounds: (bounds: IBoundsLike, anchorType: string) => { | ||
x: number; | ||
y: number; | ||
}; |
{ | ||
"name": "@visactor/vutils", | ||
"version": "0.18.3", | ||
"version": "0.18.4", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "es/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1797375