enum Godot::AspectRatioContainer::StretchMode

Defined in:

libgodot/generated/classes/classes_part1.cr

Enum Members

StretchWidthControlsHeight = 0_i64
StretchHeightControlsWidth = 1_i64
StretchFit = 2_i64
StretchCover = 3_i64

Instance Method Summary

Instance Method Detail

def stretch_cover? #

Returns true if this enum value equals StretchCover


[View source]
def stretch_fit? #

Returns true if this enum value equals StretchFit


[View source]
def stretch_height_controls_width? #

Returns true if this enum value equals StretchHeightControlsWidth


[View source]
def stretch_width_controls_height? #

Returns true if this enum value equals StretchWidthControlsHeight


[View source]