Class sgraphics.layout.Glue
All Packages Class Hierarchy This Package Previous Next Index
Class sgraphics.layout.Glue
java.lang.Object
|
+----sgraphics.GlyphImpl
|
+----sgraphics.layout.Glue
- public class Glue
- extends GlyphImpl
- implements Axis
Glue is used to create stretchable and shrinkable white space.
-
Fil
- Infinite stretch value.
-
Glue(int, float, float, float, float)
- Construct Glue.
-
Glue(Requirement)
-
-
requirements()
- Ask for the glyph's geometry requirements.
Fil
public final static float Fil
- Infinite stretch value.
Glue
public Glue(int axis,
float natural,
float stretch,
float shrink,
float align)
- Construct Glue.
- Parameters:
- axis - xAxis or yAxis.
- natural - the unstretched or unshrunk size.
- stretch - how far the glue can stretch (>= 0).
- shrink - how far the glue can shrink (>= 0).
- align - the alignment (>= 0 && <= 1).
Glue
public Glue(Requirement requirement)
requirements
public Requirements requirements()
- Ask for the glyph's geometry requirements.
- Overrides:
- requirements in class GlyphImpl
All Packages Class Hierarchy This Package Previous Next Index