RectDraw

ostrat.geom.RectDraw
See theRectDraw companion trait
object RectDraw

Companion object for the RectDraw trait, contains a RectFillImp implementation class and an apply method that delegates to it.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RectDraw.type

Members list

Type members

Classlikes

case class RectDrawImp(shape: Rect, lineWidth: Double, lineColour: Colour) extends RectDraw

An implementation class for a [RectDraw]] that is not specified as a SquareDraw.

An implementation class for a [RectDraw]] that is not specified as a SquareDraw.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RectDraw
trait PolygonDraw
trait CanvElem
trait ShapeDraw
trait RectGraphic
trait CentredElem
trait WithCentre
trait ShapeGraphic
trait BoundedElem
trait GraphicElem
trait GeomElem
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(rect: Rect, lineWidth: Double, lineColour: Colour): RectDraw

Factory method for RectFill. A rectangular Graphic aligned to the axes, filled with a single colour. it delegates to the RectfllImp i implementation class, but has a return type of RectFill.

Factory method for RectFill. A rectangular Graphic aligned to the axes, filled with a single colour. it delegates to the RectfllImp i implementation class, but has a return type of RectFill.

Attributes