TextGraphic

case class TextGraphic(str: String, fontSize: Double, xPosn: Double, yPosn: Double, colour: Colour, align: TextAlign, baseLine: BaseLine) extends GraphicAffineElem with CanvElem

A Graphical display of Text.

Value parameters:
posn

The point to orient from. By default this Vec2 defines the centre but from right or left depending on alignment.

Companion:
object
trait Serializable
trait Product
trait Equals
trait CanvElem
trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

def posn: Pt2
override def ptsTrans(f: Pt2 => Pt2): ThisT
Definition Classes
override def rendToCanvas(cp: CanvasPlatform): Unit
Definition Classes

Inherited methods

override def negX: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def negY: ThisT
Definition Classes
Inherited from:
SimilarPreserve
Inherited from:
Product
override def prolign(matrix: ProlignMatrix): ThisT
Definition Classes
Inherited from:
ProlignPreserve
override def reflect(lineLike: LineLike): ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate(angle: AngleVec): ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate180: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate270: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def rotate90: ThisT
Definition Classes
Inherited from:
SimilarPreserve
override def scale(operand: Double): ThisT
Definition Classes
Inherited from:
ProlignPreserve
override def scaleXY(xOperand: Double, yOperand: Double): ThisT
Definition Classes
Inherited from:
AffinePreserve
override def shearX(operand: Double): ThisT
Definition Classes
Inherited from:
AffinePreserve
override def shearY(operand: Double): ThisT
Definition Classes
Inherited from:
AffinePreserve
override def slateXY(xDelta: Double, yDelta: Double): ThisT
Definition Classes
Inherited from:
ProlignPreserve