com.agog.mathdisplay.render / MTCTLineDisplay

MTCTLineDisplay

class MTCTLineDisplay : MTDisplay

Constructors

<init> MTCTLineDisplay(str: String, range: NSRange, font: MTFont, atoms: List<MTMathAtom>)

Properties

atoms val atoms: List<MTMathAtom>
font val font: MTFont
str val str: String

Inherited Properties

ascent open var ascent: Float
descent open var descent: Float
hasScript var hasScript: Boolean
localTextColor var localTextColor: Int
position var position: CGPoint
range var range: NSRange
shiftDown var shiftDown: Float
textColor var textColor: Int
width open var width: Float

Functions

computeDimensions fun computeDimensions(): Unit
draw fun draw(canvas: Canvas): Unit

Inherited Functions

colorChanged open fun colorChanged(): Unit
displayBounds fun displayBounds(): CGRect
positionChanged open fun positionChanged(): Unit