class
Context extends AnyRef
Instance Constructors
-
new
Context(canvas: Canvas, _ratio: ⇒ Double)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
begin(): Unit
-
def
bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit
-
val
canvas: Canvas
-
def
clear(): Unit
-
def
clipPath(path: Path, x: Double = 0.0, y: Double = 0.0): Unit
-
def
clipRect(x1: Double, y1: Double, x2: Double, y2: Double): Unit
-
def
clone(): AnyRef
-
def
close(): Unit
-
def
composite(composite: Composite): Unit
-
def
createPattern(repetition: Repetition): CanvasPattern
-
def
ctx: CanvasRenderingContext2D
-
def
drawCanvas(canvas: Canvas)(x: Double = 0.0, y: Double = 0.0, width: Double = canvas.width, height: Double = canvas.height): Unit
-
def
drawImage(image: Image)(x: Double = 0.0, y: Double = 0.0, width: Double = image.width, height: Double = image.height): Unit
-
def
drawVideo(video: Video)(x: Double = 0.0, y: Double = 0.0, width: Double = video.width, height: Double = video.height): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
def
fill(paint: Paint, apply: Boolean): Unit
-
def
fillText(text: String, x: Double = 0.0, y: Double = 0.0, maxWidth: Double = 10000.0): Unit
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
height: Double
-
def
identity(): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
def
lineJoin(value: String): Unit
-
def
lineTo(x: Double, y: Double): Unit
-
def
measureText(text: String, size: Size = Size.zero): Size
-
def
miterLimit(value: Double): Unit
-
def
moveTo(x: Double, y: Double): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
opacity: Double
-
def
opacity_=(value: Double): Unit
-
def
quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit
-
def
ratioX: Double
-
def
ratioY: Double
-
def
rect(x: Double, y: Double, width: Double, height: Double, begin: Boolean = true, close: Boolean = true): Unit
-
def
reset(): Unit
-
def
restore(): Unit
-
def
rotate(angle: Double): Unit
-
def
roundedRect(x: Double, y: Double, width: Double, height: Double, radius: Double): Unit
-
def
save(): Unit
-
def
scale(x: Double, y: Double): Unit
-
def
setFont(family: String, size: Double, style: String, variant: String, weight: String): Unit
-
def
setShadow(blur: Double, color: Color, x: Double, y: Double): Unit
-
def
state[R](f: ⇒ R): R
-
-
def
stroke(paint: Paint, lineWidth: Double = 1.0, lineDash: List[Double] = Nil, lineDashOffset: Double = 0.0, lineCap: LineCap = LineCap.Butt, lineJoin: LineJoin = LineJoin.Miter, apply: Boolean): Unit
-
def
stroke(stroke: Stroke, apply: Boolean): Unit
-
def
strokeText(text: String, x: Double = 0.0, y: Double = 0.0, maxWidth: Double = 10000.0): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
textBaseline(value: String): Unit
-
def
toString(): String
-
def
transform(matrix: Matrix3): Unit
-
def
translate(x: Double, y: Double): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
width: Double
-
def
withScale[R](x: Double = 1.0, y: Double = 1.0)(f: ⇒ R): R
Inherited from AnyRef
Inherited from Any