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 methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def stretch_cover? #

Returns true if this enum value equals StretchCover


def stretch_fit? #

Returns true if this enum value equals StretchFit


def stretch_height_controls_width? #

Returns true if this enum value equals StretchHeightControlsWidth


def stretch_width_controls_height? #

Returns true if this enum value equals StretchWidthControlsHeight