Packages

c

io.youi.drawable

Context

class Context extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Context
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Context(canvas: Canvas, _ratio: ⇒ Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def begin(): Unit
  6. def bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double): Unit
  7. val canvas: Canvas
  8. def clear(): Unit
  9. def clipPath(path: Path, x: Double = 0.0, y: Double = 0.0): Unit
  10. def clipRect(x1: Double, y1: Double, x2: Double, y2: Double): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def close(): Unit
  13. def composite(composite: Composite): Unit
  14. def createPattern(repetition: Repetition): CanvasPattern
  15. def ctx: CanvasRenderingContext2D
  16. def drawCanvas(canvas: Canvas)(x: Double = 0.0, y: Double = 0.0, width: Double = canvas.width, height: Double = canvas.height): Unit
  17. def drawImage(image: Image)(x: Double = 0.0, y: Double = 0.0, width: Double = image.width, height: Double = image.height): Unit
  18. def drawVideo(video: Video)(x: Double = 0.0, y: Double = 0.0, width: Double = video.width, height: Double = video.height): Unit
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def fill: Paint
  22. def fill(paint: Paint, apply: Boolean): Unit
  23. def fillText(text: String, x: Double = 0.0, y: Double = 0.0, maxWidth: Double = 10000.0): Unit
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def height: Double
  28. def identity(): Unit
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def lineJoin(value: String): Unit
  31. def lineTo(x: Double, y: Double): Unit
  32. def measureText(text: String, size: Size = Size.zero): Size
  33. def miterLimit(value: Double): Unit
  34. def moveTo(x: Double, y: Double): Unit
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def opacity: Double
  39. def opacity_=(value: Double): Unit
  40. def quadraticCurveTo(cpx: Double, cpy: Double, x: Double, y: Double): Unit
  41. def ratioX: Double
  42. def ratioY: Double
  43. def rect(x: Double, y: Double, width: Double, height: Double, begin: Boolean = true, close: Boolean = true): Unit
  44. def reset(): Unit
  45. def restore(): Unit
  46. def rotate(angle: Double): Unit
  47. def roundedRect(x: Double, y: Double, width: Double, height: Double, radius: Double): Unit
  48. def save(): Unit
  49. def scale(x: Double, y: Double): Unit
  50. def setFont(family: String, size: Double, style: String, variant: String, weight: String): Unit
  51. def setShadow(blur: Double, color: Color, x: Double, y: Double): Unit
  52. def state[R](f: ⇒ R): R
  53. def stroke: Stroke
  54. 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
  55. def stroke(stroke: Stroke, apply: Boolean): Unit
  56. def strokeText(text: String, x: Double = 0.0, y: Double = 0.0, maxWidth: Double = 10000.0): Unit
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def textBaseline(value: String): Unit
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. def transform(matrix: Matrix3): Unit
  61. def translate(x: Double, y: Double): Unit
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  65. def width: Double
  66. def withScale[R](x: Double = 1.0, y: Double = 1.0)(f: ⇒ R): R

Inherited from AnyRef

Inherited from Any

Ungrouped