Circle

ostrat.geom.Circle
See theCircle companion class
object Circle extends ShapeIcon

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

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait ShapeIcon
class Object
trait Matchable
class Any
Show all
Self type
Circle.type

Members list

Type members

Types

override type ShapeT = Circle

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

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.

Attributes

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.

Attributes

override def fill(colour: Colour): CircleFillIcon

Attributes

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.

Attributes

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.

Attributes

override def reify(scale: Double, cen: Pt2): Circle

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Attributes

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

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Attributes

Definition Classes

Implicits

Implicits

implicit val prolignImplicit: Prolign[Circle]
implicit val rotateImplicit: Rotate[Circle]
implicit val scaleImplicit: Scale[Circle]
implicit val slateImplicit: Slate[Circle]