enum Godot::Window::ContentScaleAspect

Defined in:

libgodot/generated/classes/classes_part1.cr

Enum Members

ContentScaleAspectIgnore = 0_i64
ContentScaleAspectKeep = 1_i64
ContentScaleAspectKeepWidth = 2_i64
ContentScaleAspectKeepHeight = 3_i64
ContentScaleAspectExpand = 4_i64

Instance Method Summary

Instance methods inherited from struct Enum

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

Instance Method Detail

def content_scale_aspect_expand? #

Returns true if this enum value equals ContentScaleAspectExpand


def content_scale_aspect_ignore? #

Returns true if this enum value equals ContentScaleAspectIgnore


def content_scale_aspect_keep? #

Returns true if this enum value equals ContentScaleAspectKeep


def content_scale_aspect_keep_height? #

Returns true if this enum value equals ContentScaleAspectKeepHeight


def content_scale_aspect_keep_width? #

Returns true if this enum value equals ContentScaleAspectKeepWidth