ImageCalcAutoHeight Method |
Calculate height automatically based on width, to maintain texture's original ratio.
For example if you have a texture of 400x200 pixels (eg 2:1 ratio) and its width in pixels is currently
100 units, calling this function will update this image height to be 100 / 2 = 50.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void CalcAutoHeight()
See Also