Garry's Mod Wiki

DImage:GetKeepAspect

  boolean DImage:GetKeepAspect()

Description

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

See DImage:SetKeepAspect for more info on how it works.

Returns

1 boolean
Whether the DImage should keep the aspect ratio of its image when being resized.