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 IShadow

interface IShadow
Extends com.amazon.apmf.IStandard IShadow interface represents the properties of a shadow effect. The IShadow interface defines properties related to a shadow effect, including opacity, radius, color, and offset.

Methods

getOpacity()

float getOpacity()
Returns the opacity of the shadow effect. This method retrieves the opacity value of the shadow effect.

Returns

float A float value representing the opacity of the shadow (0.0 to 1.0).

getRadius()

float getRadius()
Returns the radius of the shadow effect. This method retrieves the radius value of the shadow effect.

Returns

float A float value representing the radius of the shadow.

getColor()

Color getColor()
Returns the color of the shadow effect. This method retrieves the color of the shadow effect.

Returns

Color The Color struct representing the color of the shadow.

getOffset()

Point getOffset()
Returns the offset of the shadow effect. This method retrieves the offset of the shadow effect.

Returns

Point The Point object representing the offset of the shadow.

makeBuilder()

IShadowBuilder* makeBuilder()
Rebuilds a new IShadowBuilder object. This function rebuilds and returns a new instance of an IShadowBuilder, which can be used to build and customize shadows of the view. IShadowBuilder object is initialized with the properties of the current IShadow.

Returns

IShadowBuilder* An IShadowBuilder object.
Last modified on October 29, 2026