Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
AlignmentMode
AspectRatioContainer.swift:38enum AlignmentMode
Cases
case begin
Aligns child controls with the beginning (left or top) of the container.
case center
Aligns child controls with the center of the container.
case end
Aligns child controls with the end (right or bottom) of the container.
Other members in extension
Types
Type members
Instance members
var alignmentHorizontal: AspectRatioContainer.AlignmentMode
Specifies the horizontal relative position of child controls.
var alignmentVertical: AspectRatioContainer.AlignmentMode
Specifies the vertical relative position of child controls.
var ratio: Double
The aspect ratio to enforce on child controls. This is the width divided by the height. The ratio depends on the
stretchMode
.var stretchMode: AspectRatioContainer.StretchMode
The stretch mode used to align child controls.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.