IndigoCanvasRenderingContext2D

@native @JSGlobal @JSType class IndigoCanvasRenderingContext2D extends CanvasRenderingContext2D
class CanvasRenderingContext2D
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double): Unit
Inherited from
CanvasRenderingContext2D
def arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean): Unit
Inherited from
CanvasRenderingContext2D
def arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radius: Double): Unit
Inherited from
CanvasRenderingContext2D
def beginPath(): Unit
Inherited from
CanvasRenderingContext2D
def bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def clearRect(x: Double, y: Double, w: Double, h: Double): Unit
Inherited from
CanvasRenderingContext2D
def clip(fillRule: String): Unit
Inherited from
CanvasRenderingContext2D
def closePath(): Unit
Inherited from
CanvasRenderingContext2D
def createImageData(imageDataOrSw: Any, sh: Double): ImageData
Inherited from
CanvasRenderingContext2D
def createLinearGradient(x0: Double, y0: Double, x1: Double, y1: Double): CanvasGradient
Inherited from
CanvasRenderingContext2D
def createPattern(image: HTMLElement, repetition: String): CanvasPattern
Inherited from
CanvasRenderingContext2D
def createRadialGradient(x0: Double, y0: Double, r0: Double, x1: Double, y1: Double, r1: Double): CanvasGradient
Inherited from
CanvasRenderingContext2D
def drawImage(image: HTMLElement, offsetX: Double, offsetY: Double, width: Double, height: Double, canvasOffsetX: Double, canvasOffsetY: Double, canvasImageWidth: Double, canvasImageHeight: Double): Unit
Inherited from
CanvasRenderingContext2D
def ellipse(x: Double, y: Double, radiusX: Double, radiusY: Double, rotation: Double, startAngle: Double, endAngle: Double, anticlockwise: Boolean): Unit
Inherited from
CanvasRenderingContext2D
def fill(): Unit
Inherited from
CanvasRenderingContext2D
def fillRect(x: Double, y: Double, w: Double, h: Double): Unit
Inherited from
CanvasRenderingContext2D
def fillText(text: String, x: Double, y: Double, maxWidth: Double): Unit
Inherited from
CanvasRenderingContext2D
def getImageData(sx: Double, sy: Double, sw: Double, sh: Double): ImageData
Inherited from
CanvasRenderingContext2D
def getLineDash(): Array[Double]
Inherited from
CanvasRenderingContext2D
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPointInPath(x: Double, y: Double): Boolean
Inherited from
CanvasRenderingContext2D
def isPointInPath(x: Double, y: Double, fillRule: String): Boolean
Inherited from
CanvasRenderingContext2D
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def lineTo(x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def measureText(text: String): TextMetrics
Inherited from
CanvasRenderingContext2D
def moveBy(deltaX: Double, deltaY: Double): Unit
Inherited from
CanvasRenderingContext2D
def moveTo(x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def putImageData(imagedata: ImageData, dx: Double, dy: Double, dirtyX: Double, dirtyY: Double, dirtyWidth: Double, dirtyHeight: Double): Unit
Inherited from
CanvasRenderingContext2D
def quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def rect(x: Double, y: Double, w: Double, h: Double): Unit
Inherited from
CanvasRenderingContext2D
def restore(): Unit
Inherited from
CanvasRenderingContext2D
def rotate(angle: Double): Unit
Inherited from
CanvasRenderingContext2D
def save(): Unit
Inherited from
CanvasRenderingContext2D
def scale(x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def setLineDash(segments: Array[Double]): Unit
Inherited from
CanvasRenderingContext2D
def setTransform(m11: Double, m12: Double, m21: Double, m22: Double, dx: Double, dy: Double): Unit
Inherited from
CanvasRenderingContext2D
def stroke(): Unit
Inherited from
CanvasRenderingContext2D
def strokeRect(x: Double, y: Double, w: Double, h: Double): Unit
Inherited from
CanvasRenderingContext2D
def strokeText(text: String, x: Double, y: Double, maxWidth: Double): Unit
Inherited from
CanvasRenderingContext2D
def toLocaleString(): String
Inherited from
Object
def transform(m11: Double, m12: Double, m21: Double, m22: Double, dx: Double, dy: Double): Unit
Inherited from
CanvasRenderingContext2D
def translate(x: Double, y: Double): Unit
Inherited from
CanvasRenderingContext2D
def valueOf(): Any
Inherited from
Object

Concrete fields

var direction: String

Text direction, left to right, right to left

Text direction, left to right, right to left

"ltr" || "rtl" || "inherit"