Picture
object Picture extends BaseConstructor with PathConstructor with ShapeConstructor with TextConstructor
trait TextConstructor
trait ShapeConstructor
trait PathConstructor
trait BaseConstructor
class Object
trait Matchable
class Any
Picture.type
Type members
Inherited types
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
The empty shape, which is no shape at all.
The empty shape, which is no shape at all.
- Inherited from:
- ShapeConstructor
Create an equilateral triangle with the given side length.
Create an equilateral triangle with the given side length.
- Inherited from:
- PathConstructor
A rectangle with the given width and height.
A rectangle with the given width and height.
- Inherited from:
- ShapeConstructor
A square with the given side length.
A square with the given side length.
- Inherited from:
- ShapeConstructor