Linear Layout
Secondary constructor taking separate alignment components.
Parameters
horizontal coordinate for this LinearLayout. Default: 0.
vertical coordinate for this LinearLayout. Default: 0.
width for this LinearLayout. Default: 0.
height for this LinearLayout. Default: 0.
spacing between contained GameComponentViews. Default: 0.
Visual to be used for this LinearLayout.
orientation for this LinearLayout. Default: Orientation.HORIZONTAL.
specifies how the contained components should be aligned vertically. Default: VerticalAlignment.TOP.
specifies how the contained components should be aligned horizontally. Default: HorizontalAlignment.LEFT.
Creates a LinearLayout.
Parameters
Generic GameComponentView.
horizontal coordinate for this LinearLayout. Default: 0.
vertical coordinate for this LinearLayout. Default: 0.
width for this LinearLayout. Default: DEFAULT_LINEAR_LAYOUT_WIDTH.
height for this LinearLayout. Default: DEFAULT_LINEAR_LAYOUT_HEIGHT.
spacing between contained GameComponentViews. Default: DEFAULT_LINEAR_LAYOUT_SPACING.
Visual to be used for this LinearLayout.
orientation for this LinearLayout. Default: Orientation.HORIZONTAL.
specifies how the contained GameComponentViews should be aligned. Default: Alignment.TOP_LEFT.