Class: Toybox.Graphics.BitmapTexture

Overview

An object representing a textured area with in a bitmap that can be can be used to fill a primitive drawable object.

Since:

API Level 4.0.0

Instance Method Summary collapse

Instance Method Details

initialize(options as { :bitmap as Graphics.BitmapType or Lang.ResourceId, :offsetX as Lang.Number, :offsetY as Lang.Number })

Constructor

Parameters:

Since:

API Level 4.0.0

setOffset(offsetX as Lang.Number, offsetY as Lang.Number) as Void

Set an offset for the texture.

Parameters:

Since:

API Level 4.0.0


Generated Dec 11, 2024, 8:58:43 AM