PolygonFill

ostrat.geom.PolygonFill
See thePolygonFill companion trait
object PolygonFill

Companion object for PolygonFill trait. Contains an implementation class PolygonFillImp, a factory method returning the PolygonFill type and implicit instances for the 2D geometric transformation type classes.

Attributes

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

Members list

Type members

Classlikes

final case class PolygonFillImp(shape: Polygon, fill: FillFacet) extends PolygonFill

Immutable Graphic element that defines and fills a Polygon. This element can be trnsformed through all the Affine transformations and a PolygonFill will be returned.

Immutable Graphic element that defines and fills a Polygon. This element can be trnsformed through all the Affine transformations and a PolygonFill will be returned.

Value parameters

colour

The colour of this graphic.

shape

The Polygon shape.

Attributes

Constructor

create a new PolygonFill with the underlying polygon and a colour.

Supertypes
trait Serializable
trait Product
trait Equals
trait PolygonFill
trait CanvElem
trait ShapeFill
trait ShapeGraphic
trait BoundedElem
trait GraphicElem
trait GeomElem
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(shape: Polygon, fillFacet: FillFacet): PolygonFill