com
.
sksamuel
.
scrimage
.
canvas
drawable
package
drawable
Visibility
Public
All
Type Members
case class
Arc
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
startAngle:
Int
,
endAngle:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
DrawableImage
(
imageToDraw:
Image
,
x:
Int
,
y:
Int
,
context:
Context
=
Context.Default
)
extends
ContextDrawable
with
Product
with
Serializable
case class
FilledArc
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
startAngle:
Int
,
endAngle:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
FilledOval
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
FilledPolygon
(
points:
Seq
[
Point
]
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
FilledRect
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
FilledRoundedRect
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
arcWidth:
Int
,
arcHeight:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Line
(
x0:
Int
,
y0:
Int
,
x1:
Int
,
y1:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Oval
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Point
(
x:
Int
,
y:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Polygon
(
points:
Seq
[
Point
]
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Polyline
(
points:
Seq
[
Point
]
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Rect
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g => ()
)
extends
Drawable
with
Product
with
Serializable
case class
RoundedRect
(
x:
Int
,
y:
Int
,
width:
Int
,
height:
Int
,
arcWidth:
Int
,
arcHeight:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g => ()
)
extends
Drawable
with
Product
with
Serializable
case class
Text
(
text:
String
,
x:
Int
,
y:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
case class
DrawableString
(
text:
String
,
x:
Int
,
y:
Int
,
configure: (
Graphics2D
) ⇒
Unit
=
g2 => ()
)
extends
Drawable
with
Product
with
Serializable
Annotations
@deprecated
Deprecated
(Since version 3.0.0)
Use Text
Value Members
object
Arc
extends
Serializable
object
DrawableString
extends
Serializable
object
FilledArc
extends
Serializable
object
FilledOval
extends
Serializable
object
FilledPolygon
extends
Serializable
object
FilledRect
extends
Serializable
object
FilledRoundedRect
extends
Serializable
object
Line
extends
Serializable
object
Oval
extends
Serializable
object
Point
extends
Serializable
object
Polygon
extends
Serializable
object
Polyline
extends
Serializable
object
Rect
extends
Serializable
object
RoundedRect
extends
Serializable
Ungrouped
(Since version 3.0.0) Use Text