WithCentre

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

class Object
trait Matchable
class Any
class Circle
trait RectFill
trait Rect
class PhiRect
class PhiRectY
class RectImp
class Sqlign
trait Ellipse
trait HexReg
class HexRegImp
trait Hexlign
class HexParrX
class HexParrY
trait Rectangle
trait RectS2S4
class SquareImp
trait Square
trait EArc
class EArcImp
trait EArclign
class CArc
class CanvasFx
trait PanelLike
class CArcExs
class LsA1
class LsA10
class LsA11
class LsA12
class LsA13
class LsA1a
class LsA1b
class LsA2
class LsA3
class LsA3a
class LsA4
class LsA5
class LsA6
class LsA7
class LsA8
class LsA9
class LsB1
class LsB2
class LsB3
class LsC1
class LsC2
class LsC3
class LsC4
class LsC5
class LsC6
class LsC7
class LsC8
class LsD1
class LsD2
class LsD3
class LsD4
class LsD5
class BattleGui
class FlagsGui
class ColourGen
class Panel

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.

def cenX: Double

The X component of the centre.

The X component of the centre.

def cenY: Double

The Y component of the centre.

The Y component of the centre.