Component Alignments
object ComponentAlignments
Content copied to clipboard
This object contains factory functions for creating AlignmentStrategy objects.
Functions
alignmentAround
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
Calculates the Position of the resulting Component relative to the given component using the given ComponentAlignment.
alignmentWithin
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
Calculates the Position of the resulting Component within the given container using the given ComponentAlignment.
@JvmStatic()
Content copied to clipboard
Calculates the Position of the resulting Component within the given tileGrid using the given ComponentAlignment.
positionalAlignment
Link copied to clipboard
@JvmStatic()
Content copied to clipboard
Creates a AlignmentStrategy which will align a Component within another one relative to its top left corner using the given Position.
Creates a AlignmentStrategy which will align a Component within another one relative to its top left corner using the given x,y coordinates.
Sources
(source)
Link copied to clipboard