AspectRatioContainer

Inherits: Container < Control < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

AlignmentMode

alignment_horizontal

1

AlignmentMode

alignment_vertical

1

float

ratio

1.0

StretchMode

stretch_mode

2


Enumerations

enum StretchMode:

StretchMode STRETCH_WIDTH_CONTROLS_HEIGHT = 0

There is currently no description for this enum. Please help us by contributing one!

StretchMode STRETCH_HEIGHT_CONTROLS_WIDTH = 1

There is currently no description for this enum. Please help us by contributing one!

StretchMode STRETCH_FIT = 2

There is currently no description for this enum. Please help us by contributing one!

StretchMode STRETCH_COVER = 3

There is currently no description for this enum. Please help us by contributing one!


enum AlignmentMode:

AlignmentMode ALIGNMENT_BEGIN = 0

There is currently no description for this enum. Please help us by contributing one!

AlignmentMode ALIGNMENT_CENTER = 1

There is currently no description for this enum. Please help us by contributing one!

AlignmentMode ALIGNMENT_END = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

AlignmentMode alignment_horizontal = 1

There is currently no description for this property. Please help us by contributing one!


AlignmentMode alignment_vertical = 1

There is currently no description for this property. Please help us by contributing one!


float ratio = 1.0

  • void set_ratio ( float value )

  • float get_ratio ( )

There is currently no description for this property. Please help us by contributing one!


StretchMode stretch_mode = 2

There is currently no description for this property. Please help us by contributing one!