Package org. hexworks. zircon. internal. component. alignment
Types
AroundAlignmentStrategy
Link copied to clipboard
data class AroundAlignmentStrategy(other: Boundable, alignmentType: ComponentAlignment) : AlignmentStrategy
Content copied to clipboard
Can be used to align objects around an other object.
PositionalAlignmentStrategy
Link copied to clipboard
class PositionalAlignmentStrategy(position: Position) : AlignmentStrategy
Content copied to clipboard
This alignment strategy will return the given position regardless of the size passed to calculatePosition.
WithinAlignmentStrategy
Link copied to clipboard
data class WithinAlignmentStrategy(other: Boundable, alignmentType: ComponentAlignment) : AlignmentStrategy
Content copied to clipboard
Can be used to align objects within an other object.