PositionalAlignmentStrategy

class PositionalAlignmentStrategy(position: Position) : AlignmentStrategy

This alignment strategy will return the given position regardless of the size passed to calculatePosition.

Constructors

PositionalAlignmentStrategy
Link copied to clipboard
common
fun PositionalAlignmentStrategy(position: Position)

Functions

calculatePosition
Link copied to clipboard
common
open override 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

Sources

(source)
Link copied to clipboard