| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onContourRefreshed(Component component) |
Provides a callback for users to set a custom
Contour object for a component. |
void onContourRefreshed(Component component)
Contour object for a component.
This callback will be triggered when the Element of the component is updated, the size of the
component is changed, or the Component#setContourRefreshedListener(ContourRefreshedListener)
or Component#refreshContour() method is called.
You need to pass or create a custom Contour object and call the
Component#setContour(Contour) method to set this object in the component.
component - Indicates the component for which the custom Contour object is set.