OrdinalEdgePoints

ostrat.geom.OrdinalEdgePoints

This is an object where the boundary points for top left, top right, bottom right and bottom left are defined. This trait is used by some geometric elements as well as pCanv.CanvasPlatform and pCanv.Panel.

Attributes

Graph
Supertypes
trait WithCentre
class Object
trait Matchable
class Any
Known subtypes
class Circle
trait RectGraphic
trait RectCompound
object GridGraphic1
trait RectDraw
class RectDrawImp
trait RectFill
class RectFillImp
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 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

Abstract methods

def topLeft: Pt2
def topRight: Pt2

Concrete methods

def blOffset: Vec2
def brOffset: Vec2
def tlOffset: Vec2
def trOffset: Vec2

Top right offset from centre.

Top right offset from centre.

Attributes

Inherited and 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

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