Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IOffsetLayer

interface IOffsetLayer
Extends ILayer Interface for a ILayer that supports offsetting its position.

Methods

getOffset()

Point getOffset()
This method returns the offset of the ILayer, which represents the adjustment of its position relative to its parent window.

Returns

Point The offset of the ILayer, specified as a Point object representing the x and y coordinates.

setOffset()

void setOffset(Point offset)
This method sets the offset of the ILayer to the specified value, adjusting its position relative to its parent window.

Parameters

offset
Point — Required The offset to set, specified as a Point object representing the x and y coordinates.
Last modified on October 29, 2026