AlignComponent
data class AlignComponent(val child: GuiComponent, val horizontal: Supplier<HorizontalAlign>, val vertical: Supplier<VerticalAlign>) : GuiComponent(source)
Constructors
Link copied to clipboard
constructor(child: GuiComponent, horizontal: Supplier<HorizontalAlign>, vertical: Supplier<VerticalAlign>)
Functions
Link copied to clipboard
Walk over the direct children of this element. A gui element that composites other gui elements should override this method. By default, the initial element is returned without change.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called by the parent renderer.
Link copied to clipboard
Called by the parent renderer.
Link copied to clipboard
Called by the parent renderer. The GL matrix stack is pre-transformed, so rendering can begin at (0, 0) and should not render beyond what the context says is available.