com.sksamuel.scrimage.canvas

Canvas

case class Canvas(image: Image, painter: Painter = X11Colorlist.Black, font: Font = new Font(Font.SERIF, 0, 24), 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 = X11Colorlist.Black, font: Font = new Font(Font.SERIF, 0, 24), aliasing: Boolean = false)

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. val aliasing: Boolean

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

  10. def drawPoly(polygon: Polygon): Canvas

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

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

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

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

    Definition Classes
    AnyRef
  15. def fill: Canvas

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

  17. def fillPoly(polygon: Polygon): Canvas

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

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

  20. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  23. val image: Image

  24. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  28. val painter: Painter

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

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

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

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

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

  34. def watermark(text: String): Canvas

  35. def withAliasing(aliasing: Boolean): Canvas

  36. def withFont(font: Font): Canvas

  37. def withPainter(color: Color): Canvas

  38. def withPainter(painter: Painter): Canvas

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped