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 IPath

interface IPath
Extends com.amazon.apmf.IStandard The IPath interface encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves.

Methods

isEmpty()

bool isEmpty()
This method checks if path does not contain any line or curves.

Returns

bool true if the path is empty false otherwise

getBounds()

Rect getBounds()
This method returns the Rect bound of the path. In case path is empty, this will return the empty Rectangle.

Returns

Rect Returns the Rect computed bounds of the path.

getFillType()

FillType getFillType()
This method returns fill type set to the path

Returns

FillType the fill type associated with the path. FillType
Last modified on October 29, 2026