⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
DrawImageRotated

DrawImageRotated

PIXEL.DrawImageRotated( number x, number y, number width, number height, number rotation, string url, Color color )

Description

Draws an image downloaded from the given URL with rotation. Images are automatically downloaded if they are not present in the cache. A progress wheel will be shown in place while the image is being downloaded.

Arguments

number x

The X coordinate of the image's center.

number y

The Y coordinate of the image's center.

number width

The width of the image.

number height

The height of the image.

number rotation

The rotation of the image.

string url

The URL of the image.

Color color

The color to tint the image.