com.agog.mathdisplay.render / MTGlyphDisplay

MTGlyphDisplay

class MTGlyphDisplay : MTDisplay

Constructors

<init> MTGlyphDisplay(glyph: CGGlyph, range: NSRange, myfont: MTFont)

Properties

ascent var ascent: Float
descent var descent: Float
glyph val glyph: CGGlyph
myfont val myfont: MTFont

Inherited Properties

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

draw fun draw(canvas: Canvas): Unit

Inherited Functions

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