com.sksamuel.scrimage.canvas

Canvas

case class Canvas(image: Image, painter: Painter = ..., font: Font = ..., aliasing: Boolean = false) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Canvas
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Canvas(image: Image, painter: Painter = ..., font: Font = ..., aliasing: Boolean = false)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val aliasing: Boolean

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def drawImage(x: Int, y: Int, imageToDraw: Image): Canvas

  10. def drawLine(x1: Int, y1: Int, x2: Int, y2: Int): Canvas

  11. def drawOval(x: Int, y: Int, width: Int, height: Int): Canvas

  12. def drawPoly(polygon: Polygon): Canvas

  13. def drawRect(x: Int, y: Int, w: Int, h: Int): Canvas

  14. def drawRoundedRect(x: Int, y: Int, width: Int, height: Int, arcWidth: Int, arcHeight: Int): Canvas

  15. def drawString(x: Int, y: Int, text: String): Canvas

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def fill: Canvas

  18. def fillOval(x: Int, y: Int, width: Int, height: Int): Canvas

  19. def fillPoly(polygon: Polygon): Canvas

  20. def fillRect(x: Int, y: Int, w: Int, h: Int): Canvas

  21. def fillRoundedRect(x: Int, y: Int, width: Int, height: Int, arcWidth: Int, arcHeight: Int): Canvas

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. val font: Font

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. val image: Image

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val painter: Painter

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def watermark(text: String, alpha: Double): Canvas

  36. def watermark(text: String): Canvas

  37. def withAliasing(aliasing: Boolean): Canvas

  38. def withFont(font: Font): Canvas

  39. def withPainter(color: Color): Canvas

  40. def withPainter(painter: Painter): Canvas

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped