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 Jun 6, 2024 10:31:52 AM