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
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 Serializabletrait Producttrait Equalstrait RectDrawtrait RectangleDrawtrait PolygonDrawtrait CanvShapeDrawtrait CanvElemtrait ShapeDrawtrait ShapeGeomlessDrawtrait RectGraphicSimpletrait RectangleGraphicSimpletrait PolygonGraphicSimpletrait ShapeGraphicSimpletrait GraphicSvgElemtrait GraphicSimpletrait Aff2Elemtrait Simil2Elemtrait RectGraphictrait ShapeGraphicOrdinaledtrait OrdinaledElemtrait OrdinalEdgePointstrait RectangleGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait PolygonGraphictrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait Graphic2Elemtrait Axlign2Elemclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Factory method for RectFill. A rectangular Graphic aligned to the axes, filled with a single colour. it delegates to the RectDrawImp 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 RectDrawImp implementation class, but has a return type of RectFill.
Attributes
In this article