com.agog.mathdisplay.render / MTRadicalDisplay

MTRadicalDisplay

class MTRadicalDisplay : MTDisplay

Constructors

<init> MTRadicalDisplay(radicand: MTMathListDisplay, radicalGlyph: MTDisplay, range: NSRange)

Properties

degree var degree: MTMathListDisplay?
lineThickness var lineThickness: Float
radicalGlyph val radicalGlyph: MTDisplay
radicalShift var radicalShift: Float
radicand val radicand: MTMathListDisplay
topKern var topKern: Float

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

colorChanged fun colorChanged(): Unit
draw fun draw(canvas: Canvas): Unit
positionChanged fun positionChanged(): Unit
setDegree fun setDegree(degree: MTMathListDisplay, fontMetrics: MTFontMathTable): Unit
updateRadicandPosition fun updateRadicandPosition(): Unit

Inherited Functions

displayBounds fun displayBounds(): CGRect