Picture
doodle.svg.package$.Picture$
object Picture extends BaseConstructor with PathConstructor with ShapeConstructor with TextConstructor
Attributes
- Source:
- package.scala
- Graph
- Supertypes
- trait TextConstructortrait ShapeConstructortrait PathConstructortrait BaseConstructorclass Objecttrait Matchableclass Any
- Self type
- Picture.type
Members list
Concise view
Type members
Inherited types
Attributes
- Inherited from:
- BaseConstructor
- Source:
- BaseConstructor.scala
Value members
Inherited methods
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
A circle with the given diameter. We use diamter rather than radius so circle(100) has the same size as square(100)
Attributes
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
The empty shape, which is no shape at all.
The empty shape, which is no shape at all.
Attributes
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
Create an equilateral triangle with the given side length.
Create an equilateral triangle with the given side length.
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
A rectangle with the given width and height.
A rectangle with the given width and height.
Attributes
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
A square with the given side length.
Attributes
- Inherited from:
- PathConstructor
- Source:
- Path.scala
Render the given String
An isoceles triangle with the given width and height.
An isoceles triangle with the given width and height.
Attributes
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala