Rectangularlign

ostrat.geom.Rectangularlign

A Rectangle like final class aligned to the X and Y axes. The prupose of this class is so as things like Canvas are not Rects. Not sure if this is a good idea or not

Attributes

Graph
Supertypes
trait WithCentre
class Object
trait Matchable
class Any
Known subtypes
trait Rect
object NoBounds
class PhiRect
class PhiRectY
class RectImp
class Sqlign
trait RectCenlign
class CanvasFx
trait PanelLike
class BlackJackGui
class BattleGui
class FlagsGui
class ReactorGUI
class ColourGen
class TessGui
class CArcExs
class Canv
class HelloWorld
class LsAEllipses
class LsAText
class LsB1
class LsB2
class LsB3
class LsC1
class LsC2
class LsC3
class LsC3b
class LsC4
class LsC5
class LsC6
class LsC7
class LsC8
class LsD1
class LsD2
class LsD3
class LsD4
class LsD5
class Panel
Show all

Members list

Value members

Abstract methods

def height: Double
def width: Double

Inherited methods

def blOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
def brOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
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

Inherited from:
WithCentre
def cenX: Double

The X component of the centre.

The X component of the centre.

Attributes

Inherited from:
WithCentre
def cenY: Double

The Y component of the centre.

The Y component of the centre.

Attributes

Inherited from:
WithCentre
def tlOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
def trOffset: Vec2

Top right offset from centre.

Top right offset from centre.

Attributes

Inherited from:
OrdinalEdgePoints