RectCenlign

ostrat.geom.RectCenlign

A rectangular object aligned with the X and Y axes and centred on x = 0, y = 0. Sub traits include Rectangle and pCanv.Panel.

Attributes

Graph
Supertypes
trait WithCentre
class Object
trait Matchable
class Any
Show all
Known subtypes
class CanvasFx
trait PanelLike
class BlackJackGui
class BattleGui
class FlagsGui
class ReactorGUI
class ColourGen
class TessGui
class CArcExs
class HelloWorld
class Canv
class LsAEllipses
class LsC7Canv
class LsD3Canv
class LsD4Canv
class LsD5Canv
class LsC3bCanv
class LsC4Canv
class LsC6Canv
class LsC1Canv
class LsB2Canv
class LsB3Canv
class LsC5Canv
class LsC8Canv
class LsC2Canv
class LsC3Canv
class LsD1Canv
class LsD2Canv
class TimerCanv
class Panel
Show all

Members list

Value members

Concrete methods

override def bottom: Double

Attributes

Definition Classes
final override def bottomLeft: Pt2

Attributes

Definition Classes
final override def bottomRight: Pt2

Attributes

Definition Classes
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
def cenLeft: Pt2
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

def crossHairs(lineWidth: Double, lineColour: Colour): LinesDraw
def gridLines(spacing: Double, colour: Colour, lineWidth: Double): LinesDraw

Not sure why spacing has got a minus sign

Not sure why spacing has got a minus sign

Attributes

def gridLines2Colours(spacing: Double, cenColour: Colour, otherColour: Colour, lineWidth: Double): RArr[LinesDraw]

Badly named I think, not sure why spacing has got a minus sign

Badly named I think, not sure why spacing has got a minus sign

Attributes

override def left: Double

Attributes

Definition Classes
def panelCen: Pt2
override def right: Double

Attributes

Definition Classes
override def top: Double

Attributes

Definition Classes
final override def topLeft: Pt2

Attributes

Definition Classes
final override def topRight: Pt2

Attributes

Definition Classes
final override def xBottomLeft: Double

Attributes

Definition Classes
final override def xBottomRight: Double

Attributes

Definition Classes
final override def xTopLeft: Double

Attributes

Definition Classes
final override def xTopRight: Double

Attributes

Definition Classes
final override def yBottomLeft: Double

Attributes

Definition Classes
final override def yBottomRight: Double

Attributes

Definition Classes
final override def yTopLeft: Double

Attributes

Definition Classes
final override def yTopRight: Double

Attributes

Definition Classes

Inherited methods

def blOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
def brOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
def tlOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
def trOffset: Vec2

Top right offset from centre.

Top right offset from centre.

Attributes

Inherited from:
OrdinalEdgePoints

Inherited and Abstract methods

def height: Double

Attributes

Inherited from:
Rectangularlign
def width: Double

Attributes

Inherited from:
Rectangularlign