C# 클래스 Nez.UI.VerticalGroup

A group that lays out its children on top of each other in a single column. This can be easier than using {@link Table} when elements need to be inserted in the middle of the group. The preferred width is the largest preferred width of any child. The preferred height is the sum of the children's preferred heights, plus spacing between them if set. The min size is the preferred size and the max size is 0.
상속: Group
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
VerticalGroup ( ) : System
VerticalGroup ( float spacing ) : System
invalidate ( ) : void
layout ( ) : void
setAlignment ( Align align ) : VerticalGroup

Sets the alignment of widgets within the vertical group. Set to {@link Align#center}, {@link Align#top}, {@link Align#bottom}, {@link Align#left}, {@link Align#right}, or any combination of those

setFill ( float fill ) : VerticalGroup

fill 0 will use pref width

setPad ( float pad ) : VerticalGroup

Sets the padTop, padLeft, padBottom, and padRight to the specified value

setPad ( float top, float left, float bottom, float right ) : VerticalGroup
setPadBottom ( float padBottom ) : VerticalGroup
setPadLeft ( float padLeft ) : VerticalGroup
setPadRight ( float padRight ) : VerticalGroup
setPadTop ( float padTop ) : VerticalGroup
setReverse ( bool reverse ) : VerticalGroup

If true, the children will be ordered from bottom to top rather than the default top to bottom.

setRound ( bool round ) : VerticalGroup

If true (the default), positions and sizes are rounded to integers.

setSpacing ( float spacing ) : VerticalGroup

Sets the space between children

비공개 메소드들

메소드 설명
computeSize ( ) : void

메소드 상세

VerticalGroup() 공개 메소드

public VerticalGroup ( ) : System
리턴 System

VerticalGroup() 공개 메소드

public VerticalGroup ( float spacing ) : System
spacing float
리턴 System

invalidate() 공개 메소드

public invalidate ( ) : void
리턴 void

layout() 공개 메소드

public layout ( ) : void
리턴 void

setAlignment() 공개 메소드

Sets the alignment of widgets within the vertical group. Set to {@link Align#center}, {@link Align#top}, {@link Align#bottom}, {@link Align#left}, {@link Align#right}, or any combination of those
public setAlignment ( Align align ) : VerticalGroup
align Align Align.
리턴 VerticalGroup

setFill() 공개 메소드

fill 0 will use pref width
public setFill ( float fill ) : VerticalGroup
fill float Fill.
리턴 VerticalGroup

setPad() 공개 메소드

Sets the padTop, padLeft, padBottom, and padRight to the specified value
public setPad ( float pad ) : VerticalGroup
pad float Pad.
리턴 VerticalGroup

setPad() 공개 메소드

public setPad ( float top, float left, float bottom, float right ) : VerticalGroup
top float
left float
bottom float
right float
리턴 VerticalGroup

setPadBottom() 공개 메소드

public setPadBottom ( float padBottom ) : VerticalGroup
padBottom float
리턴 VerticalGroup

setPadLeft() 공개 메소드

public setPadLeft ( float padLeft ) : VerticalGroup
padLeft float
리턴 VerticalGroup

setPadRight() 공개 메소드

public setPadRight ( float padRight ) : VerticalGroup
padRight float
리턴 VerticalGroup

setPadTop() 공개 메소드

public setPadTop ( float padTop ) : VerticalGroup
padTop float
리턴 VerticalGroup

setReverse() 공개 메소드

If true, the children will be ordered from bottom to top rather than the default top to bottom.
public setReverse ( bool reverse ) : VerticalGroup
reverse bool If set to true reverse.
리턴 VerticalGroup

setRound() 공개 메소드

If true (the default), positions and sizes are rounded to integers.
public setRound ( bool round ) : VerticalGroup
round bool If set to true round.
리턴 VerticalGroup

setSpacing() 공개 메소드

Sets the space between children
public setSpacing ( float spacing ) : VerticalGroup
spacing float Spacing.
리턴 VerticalGroup