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

Factory apply method for creating a circle. The first parameter gives the diameter of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The diameter can be followed by the centre point or the X and Y positions of its centre.

Factory apply method for creating a circle. The first parameter gives the diameter of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The diameter can be followed by the centre point or the X and Y positions of its centre.

def apply(diameter: Double, cenX: Double, cenY: Double): Circle

Factory apply method for creating a circle. The first parameter gives the diameter of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The diameter can be followed by the centre point or the X and Y positions of its centre.

Factory apply method for creating a circle. The first parameter gives the diameter of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The diameter can be followed by the centre point or the X and Y positions of its centre.

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

Factory method for creating a circle from its radius and the position of its centre. The first parameter gives the radius of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The radius can be followed by the centre point or the X and Y positions of its centre.

Factory method for creating a circle from its radius and the position of its centre. The first parameter gives the radius of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The radius can be followed by the centre point or the X and Y positions of its centre.

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

Factory method for creating a circle from its radius and the position of its centre. The first parameter gives the radius of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The radius can be followed by the centre point or the X and Y positions of its centre.

Factory method for creating a circle from its radius and the position of its centre. The first parameter gives the radius of the circle. If no other parameters are passed the default position is for the centre of the circle to be positioned at its origin. The radius can be followed by the centre point or the X and Y positions 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
implicit