C# Class Nez.UI.HorizontalGroup

Inheritance: Group
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
_align int
_fill float
_padTop float
_reverse bool
_round bool
_spacing float

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
computeSize ( ) : void

Method Details

HorizontalGroup() public méthode

public HorizontalGroup ( ) : System
Résultat System

HorizontalGroup() public méthode

public HorizontalGroup ( float spacing ) : System
spacing float
Résultat System

invalidate() public méthode

public invalidate ( ) : void
Résultat void

layout() public méthode

public layout ( ) : void
Résultat void

setAlignment() public méthode

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.
Résultat HorizontalGroup

setFill() public méthode

fill 0 will use pref width
public setFill ( float fill ) : HorizontalGroup
fill float Fill.
Résultat HorizontalGroup

setPad() public méthode

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

setPad() public méthode

public setPad ( float top, float left, float bottom, float right ) : HorizontalGroup
top float
left float
bottom float
right float
Résultat HorizontalGroup

setPadBottom() public méthode

public setPadBottom ( float padBottom ) : HorizontalGroup
padBottom float
Résultat HorizontalGroup

setPadLeft() public méthode

public setPadLeft ( float padLeft ) : HorizontalGroup
padLeft float
Résultat HorizontalGroup

setPadRight() public méthode

public setPadRight ( float padRight ) : HorizontalGroup
padRight float
Résultat HorizontalGroup

setPadTop() public méthode

public setPadTop ( float padTop ) : HorizontalGroup
padTop float
Résultat HorizontalGroup

setReverse() public méthode

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.
Résultat HorizontalGroup

setRound() public méthode

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

setSpacing() public méthode

Sets the space between children
public setSpacing ( float spacing ) : HorizontalGroup
spacing float Spacing.
Résultat HorizontalGroup

Property Details

_align public_oe property

public int _align
Résultat int

_fill public_oe property

public float _fill
Résultat float

_padTop public_oe property

public float _padTop
Résultat float

_reverse public_oe property

public bool _reverse
Résultat bool

_round public_oe property

public bool _round
Résultat bool

_spacing public_oe property

public float _spacing
Résultat float