Package tripleplay.ui
Interface Icon
- All Known Implementing Classes:
Icons.Aggregated
public interface Icon
An interface for icons.
-
Method Summary
-
Method Details
-
width
float width()Returns the width of this icon. If the icon is not yet loaded, this should return zero. -
height
float height()Returns the height of this icon. If the icon is not yet loaded, this should return zero. -
render
Layer render()Creates a new layer for displaying this icon. The caller is takes ownership of the new layer and is responsible for its destruction. -
state
react.RFuture<Icon> state()A future which is completed when this icon has loaded.
-