C# 클래스 Nez.UI.HorizontalGroup

상속: Group
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_align int
_fill float
_padTop float
_reverse bool
_round bool
_spacing float

공개 메소드들

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

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 ) : HorizontalGroup

fill 0 will use pref width

setPad ( float pad ) : HorizontalGroup

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

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

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

setRound ( bool round ) : HorizontalGroup

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

setSpacing ( float spacing ) : HorizontalGroup

Sets the space between children

비공개 메소드들

메소드 설명
computeSize ( ) : void

메소드 상세

HorizontalGroup() 공개 메소드

public HorizontalGroup ( ) : System
리턴 System

HorizontalGroup() 공개 메소드

public HorizontalGroup ( 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 ) : HorizontalGroup
align Align Align.
리턴 HorizontalGroup

setFill() 공개 메소드

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

setPad() 공개 메소드

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

setPad() 공개 메소드

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

setPadBottom() 공개 메소드

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

setPadLeft() 공개 메소드

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

setPadRight() 공개 메소드

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

setPadTop() 공개 메소드

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

setReverse() 공개 메소드

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

setRound() 공개 메소드

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

setSpacing() 공개 메소드

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

프로퍼티 상세

_align 공개적으로 프로퍼티

public int _align
리턴 int

_fill 공개적으로 프로퍼티

public float _fill
리턴 float

_padTop 공개적으로 프로퍼티

public float _padTop
리턴 float

_reverse 공개적으로 프로퍼티

public bool _reverse
리턴 bool

_round 공개적으로 프로퍼티

public bool _round
리턴 bool

_spacing 공개적으로 프로퍼티

public float _spacing
리턴 float