class Context extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Context(canvas: Canvas)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def begin(): Unit
- val canvas: Canvas
- lazy val canvasContext: CanvasRenderingContext2D
- def clear(): Unit
- def clipRect(x1: Double, y1: Double, x2: Double, y2: Double): Unit
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def close(): Unit
- def draw(component: Component): Unit
- 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
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def height: Double
- def identity(): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def opacity: Double
- def opacity_=(value: Double): Unit
- def quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit
- def rect(x: Double, y: Double, width: Double, height: Double): Unit
- def restore(): 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(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
- Definition Classes
- AnyRef
- def textBaseline(value: String): Unit
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def transform(component: Component, multiply: Boolean = false): Unit
- def transform(matrix: Matrix3): Unit
- def translate(x: Double, y: Double): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def width: Double