TGraphics

interface TGraphics

ToDo:

Inheritors

Properties

Link copied to clipboard
abstract var background: MkColor
Link copied to clipboard
abstract val colorFactory: MkColorFactory
Link copied to clipboard
abstract var font: MkFont
Link copied to clipboard
abstract val iGraphics: IGraphics
Link copied to clipboard
abstract var isAntialias: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var isTextAntialias: Boolean
Link copied to clipboard
abstract val nativeGraphics: Any?
Link copied to clipboard
abstract var transform: AffineTransform?

Functions

Link copied to clipboard
abstract fun clearRect(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
abstract fun clip(s: Shape?)
Link copied to clipboard
abstract fun createImage(width: Int, height: Int): CPImage?
Link copied to clipboard
abstract fun drawArc(x: Int, y: Int, width: Int, height: Int, startAngle: Int, arcAngle: Int)
Link copied to clipboard
abstract fun drawClippedImage(img: CPImage?, x: Int, y: Int, w: Int, h: Int, width: Int, height: Int, bounds: Rectangle?, shape: Shape?): Boolean
Link copied to clipboard
abstract fun drawImage(img: CPImage?, x: Int, y: Int): Boolean
Link copied to clipboard
abstract fun drawImageStretch(img: CPImage?, x: Int, y: Int, w: Int, h: Int): Boolean
Link copied to clipboard
abstract fun drawOval(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
abstract fun drawPolygon(xPoints: IntArray?, yPoints: IntArray?, nPoints: Int)
Link copied to clipboard
abstract fun drawPolyline(xPoints: IntArray?, yPoints: IntArray?, nPoints: Int)
Link copied to clipboard
abstract fun fill(s: Shape?)
Link copied to clipboard
abstract fun fillArc(x: Int, y: Int, width: Int, height: Int, startAngle: Int, arcAngle: Int)
Link copied to clipboard
abstract fun fillOval(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
abstract fun fillPolygon(xPoints: IntArray?, yPoints: IntArray?, nPoints: Int)
Link copied to clipboard
abstract fun fillRect(x: Double, y: Double, width: Double, height: Double)
Link copied to clipboard
abstract fun fillRoundRect(x: Double, y: Double, width: Double, height: Double, arcWidth: Double, arcHeight: Double)
Link copied to clipboard
abstract fun fillText(str: String?, x: Float, y: Float)
Link copied to clipboard
abstract fun findMaxFontSize(elabel: EnhancedLabel?, font: MkFont?, maxWidth: Double): Double
Link copied to clipboard
abstract fun fitTextInsideRectangle(elabel: EnhancedLabel?, pf: PreferredSize?, font: MkFont?, bounds: Rectangle2D?, scaleFactor: Double, expand: Boolean): Double
Link copied to clipboard
abstract fun getStringWidth(text: String?): Double
Link copied to clipboard
abstract fun hitClip(bounds: Rectangle?): Boolean
Link copied to clipboard
abstract fun paintLabel(l: EnhancedLabel, x: Int, y: Int, w: Int, h: Int)
Link copied to clipboard
abstract fun restore()
Link copied to clipboard
abstract fun rotate(theta: Double)
Link copied to clipboard
abstract fun rotateTranslate(theta: Double, x: Double, y: Double)
Link copied to clipboard
abstract fun save()
Link copied to clipboard
abstract fun scale(sx: Double, sy: Double)
Link copied to clipboard
abstract fun setColor(c: MkColor?)
Link copied to clipboard
abstract fun setFill(c: MkColor?)
Link copied to clipboard
abstract fun setGlobalAlpha(alpha: Double)
Link copied to clipboard
abstract fun setLineDash(dashPattern: DoubleArray?)
Link copied to clipboard
abstract fun setLineWidth(lw: Double)
Link copied to clipboard
abstract fun setRadialGradient()
Link copied to clipboard
abstract fun setStroke(c: MkColor?)
Link copied to clipboard
abstract fun shear(shx: Double, shy: Double)
Link copied to clipboard
abstract fun sizeLabel(l: EnhancedLabel, w: Int, h: Int): PreferredSize
Link copied to clipboard
abstract fun softClip(screenBounds: Shape?)
Link copied to clipboard
abstract fun stroke(s: Shape?)
Link copied to clipboard
abstract fun strokeLine(x1: Int, y1: Int, x2: Int, y2: Int)
Link copied to clipboard
abstract fun strokeRect(x: Double, y: Double, width: Double, height: Double)
Link copied to clipboard
abstract fun strokeRoundRect(x: Double, y: Double, width: Double, height: Double, arcWidth: Double, arcHeight: Double)
Link copied to clipboard
abstract fun transform(t: AffineTransform?)
Link copied to clipboard
abstract fun translate(tx: Double, ty: Double)