Garry's Mod Wiki

DPanelOverlay:SetType

  DPanelOverlay:SetType( number type )

Description

Sets the type of the DPanelOverlay.

Arguments

1 number type
The type to set.

Possible value are:

  • 1 - 8px corners of given color
  • 2 - 4px corners of given type
  • 3 - 2 top? corners of hardcoded color, 2 other corners of given color