CircleCompound

ostrat.geom.CircleCompound
See theCircleCompound companion object
case class CircleCompound(shape: Circle, facets: RArr[GraphicFacet], children: RArr[GraphicElem]) extends EllipseCompound, CircleGraphic, AxisFree

Compound Circle Graphic class.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AxisFree
trait CentredElem
trait WithCentre
trait NoCanvElem
trait ShapeGraphic
trait BoundedElem
trait GraphicElem
trait GeomElem
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type ThisT = CircleCompound

Value members

Concrete methods

override def addChildren(newChildren: Arr[GraphicElem]): CircleCompound

Functionally adds more child GraphicElem graphics. These child graphics will be at placed in front of previous children.

Functionally adds more child GraphicElem graphics. These child graphics will be at placed in front of previous children.

Attributes

Definition Classes
final override def mainSvgElem: SvgCircle

Attributes

Definition Classes
override def prolign(matrix: ProlignMatrix): CircleCompound

2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def reflect(lineLike: LineLike): CircleCompound

Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.

Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def rendToCanvas(cp: CanvasPlatform): Unit

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Attributes

Definition Classes
override def rotate(angle: AngleVec): CircleCompound

Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def scale(operand: Double): CircleCompound

Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.

Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.

Attributes

Definition Classes
override def scaleXY(xOperand: Double, yOperand: Double): EllipseCompound

XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def shearX(operand: Double): EllipseCompound

Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def shearY(operand: Double): EllipseCompound

Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def slateXY(xDelta: Double, yDelta: Double): CircleCompound

Translate geometric transformation.

Translate geometric transformation.

Attributes

Definition Classes

Inherited methods

final override def attribs: RArr[XmlAtt]

Attributes

Definition Classes
Inherited from:
ShapeCompound

Attributes

Inherited from:
BoundedElem
final def boundCen: Pt2

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Attributes

Inherited from:
BoundedElem

Attributes

Inherited from:
BoundedElem
final override def boundingHeight: Double

The height of the BoundingRect of this object.

The height of the BoundingRect of this object.

Attributes

Definition Classes
Inherited from:
ShapeGraphic
final override def boundingRect: Rect

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

Attributes

Definition Classes
Inherited from:
ShapeGraphic
final override def boundingWidth: Double

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Attributes

Definition Classes
Inherited from:
ShapeGraphic

Attributes

Inherited from:
BoundedElem
override def canvElems: RArr[CanvElem]

This method converts this non standard graphic element into CanvElems that can be processed by the pCanv.CanvasPlatform.

This method converts this non standard graphic element into CanvElems that can be processed by the pCanv.CanvasPlatform.

Attributes

Definition Classes
Inherited from:
ShapeCompound
override def cen: Pt2

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

Attributes

Definition Classes
Inherited from:
ShapeGraphicCentred
final override def cenDefault: Pt2

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

Attributes

Definition Classes
Inherited from:
CentredElem
override def cenX: Double

The X component of the centre.

The X component of the centre.

Attributes

Definition Classes
Inherited from:
ShapeGraphicCentred
override def cenY: Double

The Y component of the centre.

The Y component of the centre.

Attributes

Definition Classes
Inherited from:
ShapeGraphicCentred
final def diameter: Double

The diameter of this circle graphic.

The diameter of this circle graphic.

Attributes

Inherited from:
CircleGraphic
override def negX: ThisT

Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
AxisFree
override def negY: ThisT

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
Inherited from:
AxisFree

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def radius: Double

The radius of this circle graphic.

The radius of this circle graphic.

Attributes

Inherited from:
CircleGraphic
override def rotate180: ThisT

Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
AxisFree
override def rotate270: ThisT

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
AxisFree
override def rotate90: ThisT

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
AxisFree

Attributes

Inherited from:
ShapeGraphic
override def svgElems: RArr[SvgElem]

Attributes

Definition Classes
Inherited from:
ShapeCompound
override def svgInline: HtmlSvg

Attributes

Definition Classes
Inherited from:
ShapeCompound
final def svgInlineStr: String

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
BoundedElem