Within Alignment Strategy
data class WithinAlignmentStrategy(other: Boundable, alignmentType: ComponentAlignment) : AlignmentStrategy
Content copied to clipboard
Can be used to align objects within an other object. This means that calculatePosition will return a Position for which Boundable.containsPosition will return true
when called on other.
Constructors
WithinAlignmentStrategy
Link copied to clipboard
fun WithinAlignmentStrategy(other: Boundable, alignmentType: ComponentAlignment)
Content copied to clipboard
Functions
calculatePosition
Link copied to clipboard
copy
Link copied to clipboard
fun copy(other: Boundable, alignmentType: ComponentAlignment): WithinAlignmentStrategy
Content copied to clipboard
Sources
(source)
Link copied to clipboard