LsAText

learn.LsAText
case class LsAText(canv: CanvasPlatform) extends CanvasNoPanels

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PanelLike
trait RectCenlign
trait WithCentre
trait CanvasUser
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def blOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
override def bottom: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def bottomLeft: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def bottomRight: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
def brOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
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
Inherited from:
RectCenlign
def cenLeft: Pt2

Attributes

Inherited from:
RectCenlign
def cenX: Double

The X component of the centre.

The X component of the centre.

Attributes

Inherited from:
RectCenlign
def cenY: Double

The Y component of the centre.

The Y component of the centre.

Attributes

Inherited from:
RectCenlign
def crossHairs(lineWidth: Double, lineColour: Colour): LinesDraw

Attributes

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

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

Inherited from:
RectCenlign
override def height: Double

Attributes

Definition Classes
Inherited from:
CanvasNoPanels
override def left: Double

Attributes

Definition Classes
Inherited from:
RectCenlign

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

Attributes

Inherited from:
CanvasUser
def panelCen: Pt2

Attributes

Inherited from:
RectCenlign

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def refresh(): Unit

Attributes

Inherited from:
CanvasNoPanels
def repaint(elems: RArr[GraphicElem]): Unit

Repaints the canvas, takes a Refs collection as parameter.

Repaints the canvas, takes a Refs collection as parameter.

Attributes

Inherited from:
CanvasNoPanels
def repaints(elems: GraphicElem*): Unit

Repaints the canvas takes repeat parameters of GraphicElem.

Repaints the canvas takes repeat parameters of GraphicElem.

Attributes

Inherited from:
CanvasNoPanels
override def right: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
def setMouseSimple(action: Pt2 => Unit): Unit

Just responds to the position of the mose click on the Panel, ignores any potential active objects on the screen.

Just responds to the position of the mose click on the Panel, ignores any potential active objects on the screen.

Attributes

Inherited from:
PanelLike
def setMouseSimplest(action: => Unit): Unit

Just responds to when the Panel is clicked, ignores the position of the mose click or any potential active objects on the screen.

Just responds to when the Panel is clicked, ignores the position of the mose click or any potential active objects on the screen.

Attributes

Inherited from:
PanelLike
def timedRepaint(f: Integer => GraphicElems): Unit

This function is to create a display that changes over time. So you pass in a function from the time elapsed in milliseconds to the Arr of GraphicElems that you want to display at that time point.

This function is to create a display that changes over time. So you pass in a function from the time elapsed in milliseconds to the Arr of GraphicElems that you want to display at that time point.

Attributes

Inherited from:
CanvasNoPanels
def timedRepaint1(f: Integer => GraphicElem): Unit

Attributes

Inherited from:
CanvasNoPanels
def tlOffset: Vec2

Attributes

Inherited from:
OrdinalEdgePoints
override def top: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def topLeft: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def topRight: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
def trOffset: Vec2

Top right offset from centre.

Top right offset from centre.

Attributes

Inherited from:
OrdinalEdgePoints
override def width: Double

Attributes

Definition Classes
Inherited from:
CanvasNoPanels
final override def xBottomLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xBottomRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xTopLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xTopRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yBottomLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yBottomRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yTopLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yTopRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign

Concrete fields

val ptEnd: Pt2
val ptStart: Pt2

Inherited fields

The active objects registered with this PanelLike.

The active objects registered with this PanelLike.

Attributes

Inherited from:
PanelLike

Attributes

Inherited from:
PanelLike

Attributes

Inherited from:
PanelLike

Attributes

Inherited from:
PanelLike

Attributes

Inherited from:
PanelLike

This method name is inconsistent with mousedown on the canvas class

This method name is inconsistent with mousedown on the canvas class

Attributes

Inherited from:
PanelLike
var mouseUp: (MouseButton, RArr[Any], Pt2) => Unit

This method name is inconsistent with mouseUp on the canvas class

This method name is inconsistent with mouseUp on the canvas class

Attributes

Inherited from:
PanelLike
val title: String

Attributes

Inherited from:
CanvasNoPanels