Class: Toybox.Graphics.BitmapTexture
- Inherits:
-
Toybox.Lang.Object
Overview
An object representing a textured area with in a bitmap that can be can be used to fill a primitive drawable object.
Instance Method Summary collapse
-
initialize(options as { :bitmap as Graphics.BitmapType or Lang.ResourceId, :offsetX as Lang.Number, :offsetY as Lang.Number })
Constructor.
-
setOffset(offsetX as Lang.Number, offsetY as Lang.Number) as Void
Set an offset for the texture.
Instance Method Details
initialize(options as { :bitmap as Graphics.BitmapType or Lang.ResourceId, :offsetX as Lang.Number, :offsetY as Lang.Number })
Constructor
setOffset(offsetX as Lang.Number, offsetY as Lang.Number) as Void
Set an offset for the texture.