WithCentre

ostrat.geom.WithCentre
trait WithCentre

An object with a 2 dimensional scar centre. The centre is a Pt2. It has the Double properties cenX and CenY

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CentredElem
class Circle
trait RectGraphic
trait RectCompound
object GridGraphic1
trait RectDraw
class RectDrawImp
trait RectFill
class RectFillImp
class SqlignFill
trait Rect
object NoBounds
trait PhiRect
class PhiRectHigh
class PhiRectWide
class RectGen
class Sqlign
trait ShapeCentred
trait Ellipse
class EllipseGen
trait Ellipselign
trait HexReg
class HexRegImp
trait Hexlign
class HexParrX
class HexParrY
trait Rectangle
trait PhiRectangle
class RectangleGen
trait Square
class SquareGen
trait RectStad
class CircleActive
class CircleDraw
class CircleFill
trait EllipseDraw
trait EllipseFill
trait SquareFill
trait EllipseBased
trait EArc
class EArcImp
trait EArclign
class CArc
class EArclignImp
trait RectCenlign
class CanvasFx
trait PanelLike
class BlackJackGui
class BattleGui
class FlagsGui
class ReactorGUI
class ColourGen
class TessGui
class ParticleGui
class CArcExs
class HelloWorld
class Canv
class LsC7Canv
class LsD3Canv
class LsD4Canv
class LsD5Canv
class LsEllipses1
class LsEllipses2
class LsC6Canv
class LsC1Canv
class LsB2Canv
class LsB3Canv
class LsC5Canv
class LsC8Canv
class LsC2Canv
class LsC4Canv
class LsC3Canv
class LsD1Canv
class LsD2Canv
class LsC3bCanv
class TimerCanv
class Panel
Show all

Members list

Value members

Abstract methods

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

def cenX: Double

The X component of the centre.

The X component of the centre.

Attributes

def cenY: Double

The Y component of the centre.

The Y component of the centre.

Attributes