Panel

case class Panel(outerCanv: CanvasPanelled, clipPoly: Polygon, cover: Boolean) extends PanelLike

A virtual panel created from the Canvas implemented using the clip function.

trait Serializable
trait Product
trait Equals
trait PanelLike
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any

Inherited methods

Inherited from:
OrdinalEdgePoints
Inherited from:
RectCenlign
final def bottomLeft: Pt2
Inherited from:
Rectangularlign
final def bottomRight: Pt2
Inherited from:
Rectangularlign
Inherited from:
OrdinalEdgePoints
override def cen: Pt2
Definition Classes
Inherited from:
RectCenlign
Inherited from:
RectCenlign
Inherited from:
RectCenlign
Inherited from:
RectCenlign
def crossHairs(lineWidth: Double, lineColour: Colour): LinesDraw
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

Inherited from:
RectCenlign
def gridLines2Colours(spacing: Double, cenColour: Colour, otherColour: Colour, lineWidth: Double): Arr[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

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

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.

Inherited from:
PanelLike
Inherited from:
OrdinalEdgePoints
def top: Double
Inherited from:
RectCenlign
final def topLeft: Pt2
Inherited from:
Rectangularlign
final def topRight: Pt2
Inherited from:
Rectangularlign

Top right offset from centre.

Top right offset from centre.

Inherited from:
OrdinalEdgePoints
final def xBottomLeft: Double
Inherited from:
Rectangularlign
final def xBottomRight: Double
Inherited from:
Rectangularlign
final def xTopLeft: Double
Inherited from:
Rectangularlign
final def xTopRight: Double
Inherited from:
Rectangularlign
final def yBottomLeft: Double
Inherited from:
Rectangularlign
final def yBottomRight: Double
Inherited from:
Rectangularlign
final def yTopLeft: Double
Inherited from:
Rectangularlign
final def yTopRight: Double
Inherited from:
Rectangularlign

Concrete fields

The position of the centre of the Panel on the underlying canvas.

The position of the centre of the Panel on the underlying canvas.

Inherited fields

The active objects registered with this PanelLike.

The active objects registered with this PanelLike.

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

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

This method name is inconsistent with mouseUp on the canvas class

This method name is inconsistent with mouseUp on the canvas class

Inherited from:
PanelLike