Skip to content
Uladzislau Nikalayevich edited this page Mar 3, 2020 · 1 revision

Values

{
    type                  = 'image';
    image                 = 'mta.png'; -- Either a material element or a filepath of the image which is going to be drawn. (.dds images are also supported). Image files should ideally have dimensions that are a power of two, to prevent possible blurring. Use a texture created with dxCreateTexture to speed up drawing.
    rotation              = 0; -- the rotation, in degrees for the image.
    rotationCenterOffsetX = 0; -- the absolute X offset from the image center for which to rotate the image from.
    rotationCenterOffsetY = 0; -- the absolute Y offset from the image center for which to rotate the image from.
    color                 = 0xFFFFFFFF; -- Tints the image with a value produced by tocolor or hexadecimal number in format: 0xAARRGGBB (RR = red, GG = green, BB = blue, AA = alpha).
    postGUI               = false; --  A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI).
}
Clone this wiki locally