TextBox

final case class TextBox(text: String, style: TextStyle, size: Size, position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends RenderNode with SpatialModifiers[TextBox]
Companion
object
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any

Value members

Concrete methods

def flipHorizontal(isFlipped: Boolean): TextBox
def flipVertical(isFlipped: Boolean): TextBox
def moveBy(pt: Point): TextBox
def moveBy(x: Int, y: Int): TextBox
def moveTo(pt: Point): TextBox
def moveTo(x: Int, y: Int): TextBox
def rotateBy(angle: Radians): TextBox
def rotateTo(angle: Radians): TextBox
def scaleBy(amount: Vector2): TextBox
def scaleBy(x: Double, y: Double): TextBox
def transformBy(positionDiff: Point, rotationDiff: Radians, scaleDiff: Vector2): TextBox
def transformTo(newPosition: Point, newRotation: Radians, newScale: Vector2): TextBox
def withColor(newColor: RGBA): TextBox
def withDepth(newDepth: Depth): TextBox
def withFlip(newFlip: Flip): TextBox
def withFontSize(newSize: Pixels): TextBox
def withPosition(newPosition: Point): TextBox
def withRef(newRef: Point): TextBox
def withRef(x: Int, y: Int): TextBox
def withRotation(newRotation: Radians): TextBox
def withScale(newScale: Vector2): TextBox
def withSize(newSize: Size): TextBox
def withStroke(newStroke: TextStroke): TextBox
def withText(newText: String): TextBox

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val x: Int
lazy val y: Int