AlignmentStrategy

fun fun interface AlignmentStrategy

An AlignmentStrategy can be used to calculate the Position of a Boundable (such as Components) relative to another one.

See also

Functions

calculatePosition
Link copied to clipboard
common
abstract fun calculatePosition(size: Size): Position
Calculates the Position for an object having the given size relative to a Boundable.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

AroundAlignmentStrategy
Link copied to clipboard
PositionalAlignmentStrategy
Link copied to clipboard
WithinAlignmentStrategy
Link copied to clipboard

Sources

(source)
Link copied to clipboard