com.sksamuel.scrimage

canvas

package canvas

Visibility
  1. Public
  2. All

Type Members

  1. case class Arc(x: Int, y: Int, width: Int, height: Int, startAngle: Int, endAngle: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  2. case class Canvas(image: Image) extends Product with Serializable

  3. class CaptionFilter extends Filter

  4. case class ColorPainter(color: Color) extends Painter with Product with Serializable

  5. case class Context(composite: java.awt.Composite = ..., color: Color = com.sksamuel.scrimage.Color.Black, antiAlias: Boolean = false, font: Option[Font] = scala.None, textSize: Int = 12, painter: Option[Painter] = scala.None) extends Product with Serializable

  6. trait Drawable extends AnyRef

  7. case class DrawableImage(imageToDraw: Image, x: Int, y: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  8. case class DrawableString(text: String, x: Int, y: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  9. case class FilledArc(x: Int, y: Int, width: Int, height: Int, startAngle: Int, endAngle: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  10. case class FilledOval(x: Int, y: Int, width: Int, height: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  11. case class FilledPolygon(points: Seq[Point], context: Context = Context.Default) extends Drawable with Product with Serializable

  12. case class FilledRect(x: Int, y: Int, width: Int, height: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  13. case class FilledRoundedRect(x: Int, y: Int, width: Int, height: Int, arcWidth: Int, arcHeight: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  14. case class Font(wrapped: java.awt.Font, bold: Boolean = false, italic: Boolean = false) extends Product with Serializable

  15. case class Line(x0: Int, y0: Int, x1: Int, y1: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  16. case class LinearGradient(x1: Int, y1: Int, color1: Color, x2: Int, y2: Int, color2: Color) extends Painter with Product with Serializable

  17. case class Oval(x: Int, y: Int, width: Int, height: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  18. case class Padding(left: Int, right: Int, top: Int, bottom: Int) extends Product with Serializable

  19. trait Painter extends AnyRef

  20. case class Point(x: Int, y: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  21. case class Polygon(points: Seq[Point], context: Context = Context.Default) extends Drawable with Product with Serializable

  22. case class Polyline(points: Seq[Point], context: Context = Context.Default) extends Drawable with Product with Serializable

  23. case class RadialGradient(cx: Float, cy: Float, radius: Float, fractions: Array[Float], colors: Array[Color]) extends Painter with Product with Serializable

  24. case class Rect(x: Int, y: Int, width: Int, height: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  25. case class Renderer(aliasing: Boolean) extends Product with Serializable

  26. case class RoundedRect(x: Int, y: Int, width: Int, height: Int, arcWidth: Int, arcHeight: Int, context: Context = Context.Default) extends Drawable with Product with Serializable

  27. class WatermarkCoverFilter extends Filter

    Places a watermark on the image repeated so that it covers the image.

  28. class WatermarkFilter extends Filter

    Places a watermark at a given location.

  29. class WatermarkStampFilter extends Filter

Value Members

  1. object Canvas extends Serializable

  2. object Context extends Serializable

  3. object Drawable

  4. object Font extends Serializable

  5. object LinearGradient extends Serializable

  6. object Padding extends Serializable

  7. object Painter

  8. object Point extends Serializable

  9. object Polygon extends Serializable

  10. object RandomPainter extends Painter

Ungrouped