Circle

object Circle extends ShapeIcon

This is the companion object for the Circle case class. It provides factory methods for creating Circles.

Companion
class
trait Product
trait Mirror
trait ShapeIcon
class Object
trait Matchable
class Any

Type members

Types

override type ShapeT = Circle

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply(diameter: Double, cen: Pt2): Circle

Standard factory method for creating a circle from its diameter and the position of its centre.

Standard factory method for creating a circle from its diameter and the position of its centre.

override def fill(colour: Colour): CircleFillIcon
Definition Classes
def fromRadius(radius: Double, cen: Pt2): Circle

Factory method for creating a circle from its radius and the position of its centre.

Factory method for creating a circle from its radius and the position of its centre.

def fromRadius(radius: Double, xCen: Double, yCen: Double): Circle

Factory method for creating a circle from its radius and the position of its centre.

Factory method for creating a circle from its radius and the position of its centre.

override def reify(scale: Double, cen: Pt2): Circle
Definition Classes
override def reify(scale: Double, xCen: Double, yCen: Double): Circle
Definition Classes

Implicits

Implicits

implicit val scaleImplicit: Scale[Circle]
implicit val slateImplicit: Slate[Circle]