internal PlaceWordStatus CanPlaceWord(WordAndCanvas wac, bool withTooClose) { return(Layout.CanPlaceWord(wac.WordPosition, withTooClose)); }
internal static PlaceWordStatus CanPlaceWordInLayout(WordPositionLayout layout, WordAndCanvas wac) { return(layout.CanPlaceWord(wac.WordPosition, true)); }
// Check if a WordPosition can be placed at specific location in given layout internal static PlaceWordStatus CanPlaceWordAtPositionInLayout(WordPositionLayout layout, WordPosition wordPosition, PositionOrientation position) { WordPosition testWordPosition = new WordPosition(wordPosition.Word, wordPosition.OriginalWord, position); return(layout.CanPlaceWord(testWordPosition, true)); }