Picture
object Picture extends BaseConstructor with PathConstructor with ShapeConstructor with TextConstructor
- Source:
- package.scala
Value members
Inherited methods
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)
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
The empty shape, which is no shape at all.
The empty shape, which is no shape at all.
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
Create an equilateral triangle with the given side length.
Create an equilateral triangle with the given side length.
- Inherited from:
- PathConstructor
- Source:
- Path.scala
A rectangle with the given width and height.
A rectangle with the given width and height.
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
A square with the given side length.
A square with the given side length.
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala
An isoceles triangle with the given width and height.
An isoceles triangle with the given width and height.
- Inherited from:
- ShapeConstructor
- Source:
- Shape.scala