Garry's Mod Wiki

Garry's Mod Wiki

  DImage:SetKeepAspect( boolean keep )

Description

Sets whether the DImage should keep the aspect ratio of its image when being resized.

Note that this will not try to fit the image inside the button, but instead it will fill the button with the image.

Arguments

1 boolean keep
true to keep the aspect ratio, false not to

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...