ShapeApi

doodle.canvas.algebra.Shape.ShapeApi
object ShapeApi extends ShapeApi

Attributes

Source
Shape.scala
Graph
Supertypes
trait ShapeApi
class Object
trait Matchable
class Any
Self type
ShapeApi.type

Members list

Value members

Concrete methods

def circle(tx: Transform, fill: Option[Fill], stroke: Option[Stroke], diameter: Double): CanvasDrawing[Unit]

Attributes

Source
Shape.scala
def rectangle(tx: Transform, fill: Option[Fill], stroke: Option[Stroke], width: Double, height: Double): CanvasDrawing[Unit]

Attributes

Source
Shape.scala
def triangle(tx: Transform, fill: Option[Fill], stroke: Option[Stroke], width: Double, height: Double): CanvasDrawing[Unit]

Attributes

Source
Shape.scala
def unit: CanvasDrawing[Unit]

Attributes

Source
Shape.scala