Class: Toybox.WatchUi.BitmapResource
- Inherits:
-
Toybox.Lang.Object
Overview
A representation of a bitmap resource.
BitmapResource objects are returned by the loadResource() method.
Instance Method Summary collapse
-
getHeight() as Lang.Number
Get the height of a bitmap resource.
-
getWidth() as Lang.Number
Get the width of a bitmap resource.
-
toString() as Lang.String
Get info about a bitmap resource as a String.
Instance Method Details
getHeight() as Lang.Number
Get the height of a bitmap resource.
getWidth() as Lang.Number
Get the width of a bitmap resource.
toString() as Lang.String
Get info about a bitmap resource as a String.
The info String is formatted as "Bitmap X x Y" where "X" is the width of the bitmap and "Y" is the height.