Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.Layouts.WeightLayout.LayoutSettings Class Reference

Immutable widget layout settings. More...

Inheritance diagram for Dragengine.Gui.Layouts.WeightLayout.LayoutSettings:

Public Member Functions

int getFixedSize ()
 Fixed size in pixels. More...
 
int getWeight ()
 Weight factor. More...
 
LayoutSettings new (int weight)
 Create layout setting. More...
 
LayoutSettings new (int weight, int fixedSize)
 Create layout setting. More...
 

Detailed Description

Immutable widget layout settings.

Member Function Documentation

◆ getFixedSize()

int Dragengine.Gui.Layouts.WeightLayout.LayoutSettings.getFixedSize ( )

Fixed size in pixels.

◆ getWeight()

int Dragengine.Gui.Layouts.WeightLayout.LayoutSettings.getWeight ( )

Weight factor.

◆ new() [1/2]

LayoutSettings Dragengine.Gui.Layouts.WeightLayout.LayoutSettings.new ( int  weight)

Create layout setting.

Parameters
weightWeight factor.
Exceptions
EInvalidParamweight is less than 0.

◆ new() [2/2]

LayoutSettings Dragengine.Gui.Layouts.WeightLayout.LayoutSettings.new ( int  weight,
int  fixedSize 
)

Create layout setting.

Parameters
weightWeight factor.
fixedSizeFixed size in pixels.
Exceptions
EInvalidParamweight is less than 0.
EInvalidParamfixedSize is less than 0.

The documentation for this class was generated from the following file: