class org.aswing.LoadIcon extends AssetIcon
LoadIcon allow you load extenal image/animation to be the icon content. @author senkay
Instance Fields
Show inherited public instance fields | Hide inherited public instance fields
|
function new(url:Dynamic, ?width:Float = -1, ?height:Float = -1, ?scale:Bool = false): Void
Creates a LoadIcon with specified url/URLRequest, width, height.
url | the url/URLRequest for a asset location. |
width | (optional)the width of this icon.(miss this param mean use image width) |
height | (optional)the height of this icon.(miss this param mean use image height) |
scale | (optional)whether scale the extenal image/anim to fit the size specified by front two params, default is false |