Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 398 Bytes

texturedWidget.md

File metadata and controls

17 lines (9 loc) · 398 Bytes

TexturedWidget

This widget is used to draw tiled textured areas.

Parameters

source - texture file path

offset_x, offset_y - texture offset on X-axis and Y-axis. Used to make "flowing" textures (default: 0, 0)

scale - texture scale (default: 1.0)

color - color tint of texture (default: [1, 1, 1, 1])

Events

on_drag(widget, touch) - fires, when user drags TexturedWidget