TextBox

org.nspl.TextBox
See theTextBox companion object
class TextBox(val layout: TextLayout, val color: Color, val tx: AffineTransform)(implicit fc: FontConfiguration) extends Renderable[TextBox]

A Renderable describing a text box

See the apply factory method in its companion object on how to construct one

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def rotate(rad: Double): TextBox

Attributes

Inherited from:
Renderable
def rotate(rad: Double, x: Double, y: Double): TextBox

Attributes

Inherited from:
Renderable
def rotateCenter(rad: Double): TextBox

Attributes

Inherited from:
Renderable
def scale(x: Double, y: Double): TextBox

Attributes

Inherited from:
Renderable
def translate(x: Double, y: Double): TextBox

Attributes

Inherited from:
Renderable

Concrete fields

val bounds: Bounds
val color: Color
val font: Font