enum Godot::TextureRect::StretchMode

Defined in:

libgodot/generated/classes/classes_part5.cr

Enum Members

StretchScale = 0_i64
StretchTile = 1_i64
StretchKeep = 2_i64
StretchKeepCentered = 3_i64
StretchKeepAspect = 4_i64
StretchKeepAspectCentered = 5_i64
StretchKeepAspectCovered = 6_i64

Instance Method Summary

Instance methods inherited from struct Enum

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

Instance Method Detail

def stretch_keep? #

Returns true if this enum value equals StretchKeep


def stretch_keep_aspect? #

Returns true if this enum value equals StretchKeepAspect


def stretch_keep_aspect_centered? #

Returns true if this enum value equals StretchKeepAspectCentered


def stretch_keep_aspect_covered? #

Returns true if this enum value equals StretchKeepAspectCovered


def stretch_keep_centered? #

Returns true if this enum value equals StretchKeepCentered


def stretch_scale? #

Returns true if this enum value equals StretchScale


def stretch_tile? #

Returns true if this enum value equals StretchTile