DrawingContext

doodle.algebra.generic.DrawingContext
See theDrawingContext companion object
final case class DrawingContext(blendMode: BlendMode, strokeColor: Color, strokeWidth: Option[Double], strokeCap: Cap, strokeJoin: Join, strokeDash: Option[Array[Float]], fill: Option[Fill], font: Font)

Stores state about the current drawing style.

Attributes

Companion
object
Source
DrawingContext.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala
def font(font: Font): DrawingContext

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala
def stroke: Option[Stroke]

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala
def strokeDash(pattern: Array[Float]): DrawingContext

Attributes

Source
DrawingContext.scala

Attributes

Source
DrawingContext.scala
def strokeWidth(width: Double): DrawingContext

Attributes

Source
DrawingContext.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product