Garry's Mod Wiki

DImage:PaintAt

  DImage:PaintAt( number posX, number posY, number width, number height )

Description

Paints a ghost copy of the DImage panel at the given position and dimensions. This function overrides Panel:PaintAt.

Arguments

1 number posX
The x coordinate to draw the panel from.
2 number posY
The y coordinate to draw the panel from.
3 number width
The width of the panel image to be drawn.
4 number height
The height of the panel image to be drawn.