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 IClipRRectLayer

interface IClipRRectLayer
Extends ILayer Interface for a ILayer that supports clipping with RRect. The IClipRRectLayer interface extends the ILayer interface and adds methods for setting and retrieving the RRect used for intersecting clipping operation with anti-aliasing enabled.

Methods

setRRect()

void setRRect(RRect* rect)
This method sets the RRect used for clipping content within the ILayer.

Parameters

rect
RRect* — Required A RRect object representing the rounded rectangle used for clipping.

getRRect()

RRect getRRect()
This method retrieves the RRect used for clipping content within the ILayer.

Returns

RRect The RRect object representing the rounded rectangle used for clipping.
Last modified on October 29, 2026