[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public void set_keep_aspect_ratio (bool keep_aspect)
Warning: set_keep_aspect_ratio is deprecated since 1.12.
Sets whether this should have a preferred size maintaining the aspect ratio of the underlying image
Use Image and set_content_gravity with RESIZE_ASPECT instead
this |
a Texture |
keep_aspect |
|