# DefaultWord

class DefaultWord<N>(textShapeFactory: TextShapeFactory, text: String, size: Double, treeMapNode: N, orientation: Orientation, nSubdivisions: Int, font: MkFont) : Word<N>

## Constructors

DefaultWord
Link copied to clipboard
constructor(textShapeFactory: TextShapeFactory, text: String, size: Double, treeMapNode: N, orientation: Orientation, nSubdivisions: Int, font: MkFont)

## Properties

shapeForLayout
Link copied to clipboard
open override val shapeForLayout: TextShape
size
Link copied to clipboard
val size: Double
text
Link copied to clipboard
val text: String
treeMapNode
Link copied to clipboard
open override val treeMapNode: N

## Functions

compareTo
Link copied to clipboard
open operator override fun compareTo(anotherWord: Word<N>?): Int
intersects
Link copied to clipboard
open override fun intersects(otherWord: Word<N>?): Boolean
setLocation
Link copied to clipboard
open override fun setLocation(position: Point2d?)
fun setLocation(xPos: Double, yPos: Double)
toString
Link copied to clipboard
open override fun toString(): String