mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
move frame position conversion methods to ios namespace
This commit is contained in:
10
tns-core-modules/ui/core/view/view.d.ts
vendored
10
tns-core-modules/ui/core/view/view.d.ts
vendored
@@ -531,16 +531,6 @@ export abstract class View extends ViewBase {
|
||||
*/
|
||||
public getSafeAreaInsets(): { left, top, right, bottom };
|
||||
|
||||
/**
|
||||
* Transforms iOS CGRect to a position object with left, top, right and bottom.
|
||||
*/
|
||||
public getPositionFromFrame(frame: any): { left, top, right, bottom };
|
||||
|
||||
/**
|
||||
* Transforms a position object with left, top, right and bottom to an iOS CGRect.
|
||||
*/
|
||||
public getFrameFromPosition(position: { left, top, right, bottom }, insets?: { left, top }): any;
|
||||
|
||||
/**
|
||||
* Returns the location of this view in the window coordinate system.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user