ImGui.Core:scaledImageFilled

From GiderosMobile

Available since: Gideros 2020.9
Class: ImGui

Description

Displays an image scaled to fit space while keeping its aspect ratio and a filled colored background.

ImGui:scaledImageFilled(texture,w,h,color,alpha,bgcolor,bgalpha,bordercolor,borderalpha,anchorx,anchory)

Parameters

texture: (texture) the image texture
w: (number) the image width
h: (number) the image height
color: (number) the image tint color in hex format optional
alpha: (number) the image alpha optional
bgcolor: (number) the image background color in hex format optional
bgalpha: (number) the image background alpha optional
bordercolor: (number) the image border color in hex format optional
borderalpha: (number) the image border alpha optional
anchorx: (number) the image anchor x optional
anchory: (number) the image anchor y optional